Skip to main content

A python library that helps Stackdriver consume python logs appropriately built on madzak/python-json-logger

Project description

pysdl

Python Stackdriver Logger - A python library that helps Stackdriver consume python logs appropriately

Installing pysdl

pip install pysdl 

Implementing this in your app

In Django:

settings.py ->

from pysdl.logger_config import logging_dict

LOGGING = logging_dict

In regular python apps:

from logging.config import dictConfig
from pysdl.logger_config import logging_dict

dictConfig(logging_dict)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysdl-1.1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

pysdl-1.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page