python logging

Gary Herron gherron at islandtraining.com
Sat Oct 18 11:59:01 EDT 2003


On Saturday 18 October 2003 08:45 am, Diez B. Roggisch wrote:
> Hi,
>
> I want to introduce cmd-line dependend verbosity into my app. What do you
> recommend? In java, I'd use log4j, and I know that there is a log4py
> module. I can use that, but is there some sort of standard?
>
> Regards,
>
> Diez

Now there is a standard:

  http://www.python.org/doc/2.3.2/lib/module-logging.html

A small excerpt:

  6.28 logging -- Logging facility for Python 

  New in version 2.3. This module defines functions and classes which
  implement a flexible error logging system for applications.
  ...

Gary Herron







More information about the Python-list mailing list