MRAB wrote:
On 19/02/2012 20:23, Herman wrote:
I tried to use file to config my logger and I got a weird situation
that each message is outputted twice...
Here is my scenario:
python: 2.6
file abc_logging.conf:
[snip]
[logger_abc]
level=DEBUG
handlers=consoleHandler
qualname=abc
Add this l
On 19/02/2012 20:23, Herman wrote:
I tried to use file to config my logger and I got a weird situation
that each message is outputted twice...
Here is my scenario:
python: 2.6
file abc_logging.conf:
[snip]
[logger_abc]
level=DEBUG
handlers=consoleHandler
qualname=abc
Add this line to stop t
I tried to use file to config my logger and I got a weird situation
that each message is outputted twice...
Here is my scenario:
python: 2.6
file abc_logging.conf:
[loggers]
keys=root,abc
[handlers]
keys=consoleHandler
[formatters]
keys=detailFormatter
[logger_root]
level=DEBUG
handlers=consol