You've already forked hotpocket
This commit is contained in:
48
services/backend/ops/deployment/gunicorn.logging.conf
Normal file
48
services/backend/ops/deployment/gunicorn.logging.conf
Normal file
@@ -0,0 +1,48 @@
|
||||
[loggers]
|
||||
keys=root,gunicorn.error,gunicorn.access
|
||||
|
||||
[handlers]
|
||||
keys=console,error,access
|
||||
|
||||
[formatters]
|
||||
keys=generic,access
|
||||
|
||||
[logger_root]
|
||||
level=INFO
|
||||
handlers=console
|
||||
|
||||
[logger_gunicorn.error]
|
||||
level=INFO
|
||||
handlers=error
|
||||
propagate=0
|
||||
qualname=gunicorn.error
|
||||
|
||||
[logger_gunicorn.access]
|
||||
level=INFO
|
||||
handlers=access
|
||||
propagate=0
|
||||
qualname=gunicorn.access
|
||||
|
||||
[handler_console]
|
||||
class=StreamHandler
|
||||
formatter=generic
|
||||
args=(sys.stdout,)
|
||||
|
||||
[handler_error]
|
||||
class=StreamHandler
|
||||
formatter=generic
|
||||
args=(sys.stdout,)
|
||||
|
||||
[handler_access]
|
||||
class=StreamHandler
|
||||
formatter=access
|
||||
args=(sys.stdout,)
|
||||
|
||||
[formatter_generic]
|
||||
format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s
|
||||
datefmt=%Y-%m-%d %H:%M:%S
|
||||
class=logging.Formatter
|
||||
|
||||
[formatter_access]
|
||||
format=%(message)s
|
||||
class=logging.Formatter
|
||||
Reference in New Issue
Block a user