Swap slashes for hyphen.

Thanks for the suggestion by asenchi.
This commit is contained in:
Paul J. Davis 2010-02-27 01:28:51 -05:00
parent 5580b813e9
commit 50e8355c10

View File

@ -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)