[loggers] keys=root [handlers] keys=consoleHandler,fileHandler [formatters] keys=simpleFormatter [logger_root] level=DEBUG handlers=consoleHandler,fileHandler [handler_consoleHandler] class=StreamHandler level=DEBUG formatter=simpleFormatter args=(sys.stdout,) [handler_fileHandler] class=handlers.TimedRotatingFileHandler interval=midnight backupCount=5 level=INFO formatter=simpleFormatter args=('worker.log',) [formatter_simpleFormatter] format=%(asctime)s - %(name)12.12s - %(levelname)-5.5s - %(message)s