Skip to main content

No project description provided

Project description

Logging for lazyass

Use cases:

I want pretty human-readable logs in stdout:

logger = logger_factory()

I want json-formatted logs in stdout to use with glef docker driver:

logger = logger_factory(json_stdout=True)

I want to save json-formatted logs to file and collect them with filebeat:

logger = logger_factory(log_dir='/var/logs', log_file='myapp')

I want to do the same in django

LOGGING_CONFIG = None  # <- default django config
LOG_DIR = '/var/logs'
LOG_FILE = 'myapp'

Project details

Download files

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

Files for lazy-logging, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size lazy_logging-0.0.6-py3-none-any.whl (10.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lazy_logging-0.0.6.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page