skip to navigation
skip to content

Not Logged In

sensible 0.2

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
 
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 0 downloads in the last month