strange behavious of the logging module?

Peter Otten __peter__ at
Mon Sep 24 09:03:02 CEST 2007

Christian Meesters wrote:

> Also, adding %(funcName)-8s to the formatter in basigConfig does not work
> for me: instead of the functions name the level in lower case gets inserted
> into the logfile.

When you call, "info" actually is the function name. As a
workaround use logging.getLogger(...).info(...).

It would still be a good idea to file a bug report.


More information about the Python-list mailing list