Skip to main content

Build Status Coverage Status

Gunicorn color logger

Dead simple access logger for Gunicorn with termcolor support.

screenshot

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)

Source distribution for gunicorn_color 0.1.0
File Size Uploaded
gunicorn_color-0.1.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gunicorn_color 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page