Skip to main content

Make your python logging more structured and easy to aggregate

Project description

Documentation Status Coverage Status Build Status


Make your python logging more structured and easy to aggregate using all features of pysllo. Pysllo is set of useful python logging extenders that make possible saving logs into StackLight with possibility of flow tracking, data binding and raising all logs if error occurs.

For more information go to documentation on ReadTheDocs.

Quick start

pip install pysllo


  • StructuredLogger

  • PropagationLogger

  • TrackingLogger

  • JsonFormatter

  • ElasticSearchUDPHandler


from pysllo.handlers import ElasticSearchUDPHandler
from pysllo.formatters import JsonFormatter
from pysllo.utils import LoggersFactory

# configuration
host, port, limit = 'localhost', 9000
handler = ElasticSearchUDPHandler([(host, port)])
formatter = JsonFormatter()
MixedLogger = LoggersFactory.make(
logger = MixedLogger('test')

# examlpe usage
msg = "TEST"
logger.debug(msg, user=request.user)

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

pysllo-0.1.tar.gz (7.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page