ANN: Logging Module for Python conforming to PEP 282, first release

Vinay Sajip
14 Mar 2002 18:56:10 -0800

I've just made available the first release of a logging module for
Python. It broadly conforms to PEP 282(see - though that is
still a work in progress).

The distribution contains simple examples such as logging to console,
file and streaming sockets. The simplest example might be

# -- ---------------------
import logging"Starting...")
logging.warn("Nothing to do!")"Done...")
# -- end ------------------------
and logging levels DEBUG, INFO, WARN, ERROR, and FATAL are supported.
Handling of exception information (tracebacks) is supported. Plus a
whole lot more! Levels, Loggers, Handlers, Formatters, Filters...

The documentation can be found at

Development status is pre-alpha but it has been tried out (I won't say
"tested" :-)) on 1.5.2 and 2.1.1, Windows platforms.

I'm dying to get feedback so please try it out! You can email me via
the link on the documentation page, or give feedback via
if you deem it appropriate.

Thanks & Regards

Vinay Sajip
Red Dove Consultants Ltd.