Use extra parameter instead of formatted line in logger

This commit is contained in:
Guillaume Ayoub 2013-07-12 16:28:58 +02:00
parent 84f85adc2e
commit b60b759a36

View File

@ -55,5 +55,5 @@ def start():
if debug: if debug:
LOGGER.setLevel(logging.DEBUG) LOGGER.setLevel(logging.DEBUG)
LOGGER.debug( LOGGER.debug(
"Logging configuration file '%s' not found, using stdout." % "Logging configuration file '%s' not found, using stdout.",
filename) extra=filename)