Gunicorn color logger
Dead simple access logger for Gunicorn with termcolor support.
screenshot
Usage
Simply add gunicorn_color to your requirements file or install it manually:
pip install gunicorn_color
Now you can use gunicorn_color.Logger as your gunicorn’s logger class e.g.:
gunicorn --access-logfile=- --logger-class=gunicorn_color.Logger wsgi::app [::]:8000
In order to disable colors set ANSI_COLORS_DISABLED environment variable:
ANSI_COLORS_DISABLED= gunicorn --access-logfile=- --logger-class=gunicorn_color.Logger wsgi::app [::]:8000
Metadata
Release files for gunicorn_color 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gunicorn_color-0.1.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gunicorn_color-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / gunicorn_color-0.1.0.tar.gz
| Download URL | gunicorn_color-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c923dd956237c8884d30aa2111434373c2d5e7cc705246312fab99cb4c165e67
|
|
BLAKE2b-256 checksum How to use checksums |
c951e1a0050c8409e961334d1d063376a392bc8e02d03ff8aedccfb31e2b2190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / gunicorn_color-0.1.0-py2.py3-none-any.whl
| Download URL | gunicorn_color-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dd57692a48137729547887e8ade20e0a6b434edb528ec40d5fe930c708771938
|
|
BLAKE2b-256 checksum How to use checksums |
85ccc556231141c9f5a7fb295156031d7dac5f6a16579312d6af492aa0454e0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |