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
I want to configure the Python logging module to manage two separate log files,
allowing me to do something like this:
import logging
import logging.config
logging.config.fileConfig(mylogging.conf)
root = logging.getLogger()
test = logging.getLogger(test)
root.debug(This is a message targeted