Logging module gives duplicate log entries
multiseed at gmail.com
Tue Aug 21 15:17:28 CEST 2007
I am getting duplicate log entries with the logging module.
The following behaves as expected, leading to one log entry for each
But this results in two entries for each logged event:
applog = logging.getLogger()
hdl = logging.FileHandler('/tmp/foo.log')
The app is based on the web.py framework, so I guess my problem may
connected to be some interaction with other uses of logging within
framework. This is not specific to the root logger, the same happens
Any clue would be more than welcome.
More information about the Python-list