Skip to content
/ loghacks Public

python logging utility aimed at django projects, provides extra logging functionality

License

Notifications You must be signed in to change notification settings

woome/loghacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loghacks - custom logging package for django

A custom logging package that provides extra logging functionality.

The idea of this module is to make Django logging (specifically) much easier.

It detects if we have a controlling terminal and in the event of a non-controlling terminal, SyslogHandler is used, else one of the default handlers - usually StreamHandler is used.

Usage

# in django project settings.py

# setup logging
import logging
import loghacks
loghacks.handler_chooser("DJANGO_", make_default=True)

About

python logging utility aimed at django projects, provides extra logging functionality

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages