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.6.tar.gz
.
File metadata
- Download URL: python_logging_filters-0.1.6.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 | ba2fd38b40f227831896ec8cb41618b590578b44de407bbe538bd85421a5000e |
|
MD5 | 8a8b390073b43d01a86602024a0e2807 |
|
BLAKE2b-256 | 934f0d1166c8c03e77546006f8e182b57de92fe2717e38641321cb0b970dfe87 |
File details
Details for the file python_logging_filters-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: python_logging_filters-0.1.6-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 | f674b7fa00aff1e54a15afa908ac30a1b8d1bd169de75ab16b613253ac4bfb26 |
|
MD5 | 6cb77cdeaa133699416bf0fb717ba6c8 |
|
BLAKE2b-256 | 283b82328b0a0597be48b8dfe6ac2d0d365c2a654936e8872d6ce118b73a8235 |