39 lines
654 B
Text
39 lines
654 B
Text
[loggers]
|
|
keys=root, gunicorn.error, gunicorn.access
|
|
|
|
[handlers]
|
|
keys=error_file
|
|
|
|
[formatters]
|
|
keys=generic
|
|
|
|
[logger_application.profiler]
|
|
level=DEBUG
|
|
handlers=error_file
|
|
propagate=0
|
|
qualname=application.profiler
|
|
|
|
[logger_root]
|
|
level=DEBUG
|
|
handlers=error_file
|
|
|
|
[logger_gunicorn.error]
|
|
level=INFO
|
|
handlers=error_file
|
|
propagate=1
|
|
qualname=gunicorn.error
|
|
|
|
[logger_gunicorn.access]
|
|
level=INFO
|
|
handlers=error_file
|
|
propagate=0
|
|
qualname=gunicorn.access
|
|
|
|
[handler_error_file]
|
|
class=logging.FileHandler
|
|
formatter=generic
|
|
args=('/mnt/logs/application.log',)
|
|
|
|
[formatter_generic]
|
|
format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s
|
|
class=logging.Formatter
|