Skip to main content

A simple and sensible logging config

Project description

A “Sensible” Logging Configuration

You simply do this:

>>> from sensible.loginit
import logger
>>> log = logger("MyApp")
>>> log.info("stuff")
2009-08-04 23:56:22,583 - MyApp - INFO - stuff
Environmental Variable

If you want to print log.debug messages, you simply set the environmental variable:

LOGGING_DEBUG = 1

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 sensible, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size sensible-1.0-py2-none-any.whl (2.6 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size sensible-1.0.tar.gz (1.7 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