Specifying two log files with one configuration file

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Jan 8 19:57:01 EST 2013


Peter Steele <pwsteele <at> gmail.com> writes:

> I have been unable to get this to work. My current conf file looks like this:

Try with the following changes:

[logger_test]
level: DEBUG
handlers: test
propagate: 0
qualname: test

The qualname: test is what identifies the logger as the logger named 'test', and
propagate: 0 prevents the test message from being passed up to the root logger.

Regards,

Vinay Sajip




More information about the Python-list mailing list