mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Swap slashes for hyphen.
Thanks for the suggestion by asenchi.
This commit is contained in:
parent
5580b813e9
commit
50e8355c10
@ -67,7 +67,7 @@ def configure_logging(opts):
|
|||||||
logger = logging.getLogger('gunicorn')
|
logger = logging.getLogger('gunicorn')
|
||||||
logger.setLevel(loglevel)
|
logger.setLevel(loglevel)
|
||||||
format = r"%(asctime)s [%(process)d] [%(levelname)s] %(message)s"
|
format = r"%(asctime)s [%(process)d] [%(levelname)s] %(message)s"
|
||||||
datefmt = r"%Y/%m/%d %H:%M:%S"
|
datefmt = r"%Y-%m-%d %H:%M:%S"
|
||||||
for h in handlers:
|
for h in handlers:
|
||||||
h.setFormatter(logging.Formatter(format, datefmt))
|
h.setFormatter(logging.Formatter(format, datefmt))
|
||||||
logger.addHandler(h)
|
logger.addHandler(h)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user