python logging
Alan Kennedy
alanmk at hotmail.com
Sat Oct 18 12:18:31 EDT 2003
[Diez B. Roggisch]
> 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?
Indeed there is a standard: the "logging" module was introduced in
python 2.3.
http://www.python.org/doc/current/lib/module-logging.html
You'll probably be happy to know that it borrows heavily from log4j.
Extensive documentation and background information can be had from
here:-
http://www.red-dove.com/python_logging.html
HTH,
--
alan kennedy
-----------------------------------------------------
check http headers here: http://xhaus.com/headers
email alan: http://xhaus.com/mailto/alan
More information about the Python-list
mailing list