Message90007
Hi,
I had a logging.conf file with the following logger def in it:
[logger_Builder]
level=DEBUG
handlers=consoleStderr
qualname=Builder
propogate=0
And I couldn't understand why all my log messages were coming out twice.
It took me four hours :-\ to realise I had misspelt "propagate".
Wouldn't it be better if spurious names raised parsing exceptions?
Thanks,
Mike.
P.S. Another thing that might have helped me track this down a little
quicker is if I could have printed the name of the logger that was the
source of some output. %(name)s gives the logger that *received* the log
message. If there was another format variable for the logger that was
the source of a log message I would have seen one message from Builder
and one message from root and it would have been more obvious what was
going on. |
|
Date |
User |
Action |
Args |
2009-07-02 09:50:31 | mike | set | recipients:
+ mike |
2009-07-02 09:50:31 | mike | set | messageid: <1246528231.33.0.0905986098741.issue6399@psf.upfronthosting.co.za> |
2009-07-02 09:50:30 | mike | link | issue6399 messages |
2009-07-02 09:50:29 | mike | create | |
|