[issue1197] logging: formatter does not accept %(funcName)s properly

2007-09-24 Thread Christian Meesters
Changes by Christian Meesters: -- components: Library (Lib) severity: minor status: open title: logging: formatter does not accept %(funcName)s properly type: behavior versions: Python 2.5 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1197] logging: formatter does not accept %(funcName)s properly

2007-09-24 Thread Christian Meesters
New submission from Christian Meesters: Adding %(funcName)s to a formatter will only insert the calling logging function (e.g. "info" for logging.info) into messages not the function where the message comes from: logging.Formatter('%(levelname)-8s %(funcName)s %(mess