Python logging module

  921 downloads Freely Distributable
5.0/5 1
Python logging module is a logging module for Python for use with Python 1.5.2 through 2.2.x.




The Python logging module implements a standard logging system for Python programs. It was strongly influenced by log4j from the Apache project.

As this package is included in versions 2.3 and later, only users of earlier versions of Python would need to install this module.

There was a need for a standard logging system in Python, as comprehensively documented in PEP 282 and enthusiastically endorsed by the BDFL in the Parade of the PEPs.

By a happy coincidence, the package described here was already in development and fairly close in intent and design to the description in the aforementioned PEP, borrowing as it did heavily from JSR-47 (now JDK 1.4's java.util.logging package) and log4j.

This page describes it in more detail. As I have tweaked the package to meet comments on PEP 282, I have structured this page in the same way as the original PEP.

This package is now part of Python 2.3, but if you have an earlier version of Python, you can download the package from here and use it with Python versions between 1.5.2 and 2.2.x.
Last updated on April 22nd, 2005

0 User reviews so far.