Thanks to visit codestin.com
Credit goes to github.com

Skip to content

puzzleYOU/python-logging-filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-logging-filters

Filters for standard python logging, e.g. for suppressing noisy 3rd party framework logging.

python-logging-filters can be installed via PyPI:

$ pip install python-logging-filters

Current implementations

DjangoHttp404LogFilter

Suppresses Django's default 'Not Found: ...' logging. See python_logging_filters.DjangoHttp404LogFilter.

NOTE: At the moment, this filter does only take the desired effect with production settings and using a mature WSGI-compliant server (not ./manage.py runserver). Using the Django debug server or setting DEBUG = True issues a "Not Found" log warning which cannot be trivially filtered.

About

Simple filters for standard python logging, e.g. for suppressing noisy 3rd party framework logging.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages