[loggers] keys=root, gunicorn [handlers] keys=console, file [formatters] keys=generic [logger_root] level=INFO handlers=console [logger_gunicorn] level=DEBUG handlers=file propagate=1 qualname=gunicorn [handler_console] class=StreamHandler formatter=generic args=(sys.stdout, ) [handler_file] class=logging.FileHandler formatter=generic args=('/tmp/test.log',) [formatter_generic] format="%(asctime)s [%(process)d] [%(levelname)s] %(message)s" datefmt="%Y-%m-%d %H:%M:%S" class=logging.Formatter