NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #451 most downloaded on PyPI
Add colours to the output of Python's logging module.
Last release 2 months ago
23 Jul 2026
Release timing varies
gaps range from 3 weeks to 1.3 years
Some releases are documented
notes for 16 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
72 releases · first in 2012
Fix LevelFormatter KeyError on unlisted or custom log levels by @ArmaanjeetSandhu in #141
Full Changelog: v6.11.0...v6.12.0
Update README and examples to reflect current API by @maxime-bc in #140
Full Changelog: v6.10.1...v6.11.0
One column per quarter.
When logging exceptions, enable colorized traceback by @garyvdm in #138
Full Changelog: v6.9.0...v6.10.1
Support python 3.13 in mypy by @passchieri in #135
Full Changelog: v6.8.2...v6.9.0
Update package links in README by @buhtz in https://github.com/borntyping/python-colorlog/pull/131
Full Changelog: https://github.com/borntyping/python-colorlog/compare/v6.8.0...v6.8.2
Full Changelog: v6.8.0...v6.8.2
Remove universal wheel, python 2 is unsupported by @gopackgo90 in https://github.com/borntyping/python-colorlog/pull/126
Full Changelog: https://github.com/borntyping/python-colorlog/compare/v6.7.0...v6.8.0
Full Changelog: v6.7.0...v6.8.0
Nothing published for this version
https://pypi.org/project/colorlog/6.6.0/
https://pypi.org/project/colorlog/6.6.0/
Changes since v6.4.1.
force_color option to colorlog.formatter.ColoredFormatter.FORCE_COLOR environment variable.Nothing published for this version
…adding and testing new features a slog. Other backwards incompatible changes have mostly been to internals, and some long requested features that have…
This is the first proper release in the v6 line!
PyPI: https://pypi.org/project/colorlog/6.4.1/
This breaks backwards compatibility in a few ways, most notably dropping support for Python versions older than 3.5. A warning will be displayed if you try to run it on an older version:
Colorlog requires Python 3.6 or above.
Pin 'colorlog<5' to your dependencies if you require compatibility with older versions of Python.
This lets colorlog drop some code that was getting very messy to maintain, which made adding and testing new features a slog. Other backwards incompatible changes have mostly been to internals, and some long requested features that have been a bit easier to add now.
Changes since v6.3.0a1.
colorlog.logging to colorlog.wrappers.logging module (#111).Changes since v5.0.0.
NO_COLOR environment variable, and a no_color option (#70).TTYColoredFormatter into ColoredFormatter, and ensure no ANSI codes are printed when colors are disabled.LevelFormatter with a far simpler implementation.colorlog.colorlog is now colorlog.formatter.colorlog.logging is now colorlog.wrappers.colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.logging module (#111).Nothing published for this version
Rename internal modules. colorlog.colorlog is now colorlog.formatter.
colorlog.colorlog is now colorlog.formatter.colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.Require Python >= 3.6 in package metadata.
Thanks @hugovk!
Use setuptool's "normalised" format for the version number.
Nothing published for this version
Nothing published for this version
*Dropped support for Python 2* and Python versions below Python 3.5.
NO_COLOR environment variable, and a no_color option (#70).TTYColoredFormatter into ColoredFormatter, and ensure no ANSI codes are printed when colors are disabled.LevelFormatter with a far simpler implementation.version_info check for the Formatter validate parameter.formatMessage instead of format, so that ColoredRecord is used in fewer places.Nothing published for this version
Nothing published for this version
This prepares for a v6.0.0 version that breaks backwards compatibility with older Python versions and potentially changes various internals.
This prepares for a v6.0.0 version that breaks backwards compatibility with older Python versions and potentially changes various internals.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
*Breaking change*: TTYColoredFormatter requires the stream argument, avoiding checking the wrong stream and still displaying colors when it shouldn't.
Breaking change: TTYColoredFormatter requires the stream argument, avoiding checking the wrong stream and still displaying colors when it shouldn't.
Includes some other minor changes, and attempts to close the last few months worth of minor issues (#54, #62, #64, #65).
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This removed the use of parse_colors directly in format strings, as it relied on an implementation specific detail of Python 2 and was broken on Pytho
This removed the use of parse_colors directly in format strings, as it relied on an implementation specific detail of Python 2 and was broken on Python 3 (i.e. setting __missing__ on an object's __dict__). It also adds some usage examples.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Adds a level based formatter - thanks @mdraw!
Adds a level based formatter - thanks @mdraw! (https://github.com/borntyping/python-colorlog/pull/32)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow use of the fg_ prefix for colors
Added support for Windows using colorama, thanks to @nicoddemus 48e417be64c5a2f37c809c28f13b72121473012d
Nothing published for this version
Nothing published for this version
Nothing published for this version
Adds module level functions that log to the root logger, and sets up a basic coloured logger when those modules are called and no handlers exist (in t
Adds module level functions that log to the root logger, and sets up a basic coloured logger when those modules are called and no handlers exist (in the same way the logging module does).
Stable release: python-colorlog is no longer marked as 'beta' software.
Stable release: python-colorlog is no longer marked as 'beta' software.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →