standard python logging filters
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_logging_filters-0.1.5.tar.gz
.
File metadata
- Download URL: python_logging_filters-0.1.5.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d087ea4c9fefa2b27aa9d9231fab4d41b606ac49949e4503d11a124c0ed99f4 |
|
MD5 | 799e4d37582adbc98cc177954985f725 |
|
BLAKE2b-256 | 44b3489de96dabe79df5b9c4aced74063a5953e6571a1f6bf227aef76a1d40bc |
File details
Details for the file python_logging_filters-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: python_logging_filters-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7ffe1459d4cdcdac275423ee06045bcc5b026c5a5aaf56e8888027ee911e63c |
|
MD5 | 14c19fae8acc2a978e81608c29e247ec |
|
BLAKE2b-256 | d68e2c82099492ce2024dd3b4eed10265ec704e41c5d4007aafdb9d3f6924989 |