From 50e8355c103716721914505c40b5873284ef75a1 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Sat, 27 Feb 2010 01:28:51 -0500 Subject: [PATCH] Swap slashes for hyphen. Thanks for the suggestion by asenchi. --- gunicorn/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/main.py b/gunicorn/main.py index 8f1b4256..eebf5622 100644 --- a/gunicorn/main.py +++ b/gunicorn/main.py @@ -67,7 +67,7 @@ def configure_logging(opts): logger = logging.getLogger('gunicorn') logger.setLevel(loglevel) 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: h.setFormatter(logging.Formatter(format, datefmt)) logger.addHandler(h)