Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Dead simple access logger for Gunicorn with termcolor support.

Project Description

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

Release history Release notifications

This version
History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gunicorn_color-0.1.0-py2.py3-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 1, 2017
gunicorn_color-0.1.0.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None Dec 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page