Commit 4fe44ea3 authored by Julien Muchembled's avatar Julien Muchembled

Fix date format in logs

parent f1e95660
......@@ -54,7 +54,7 @@ def setupLog(log_level, filename=None, **kw):
handler = logging.StreamHandler()
sig = signal.SIG_IGN
handler.setFormatter(logging.Formatter(
'%(asctime)s %(levelname)-9s %(message)s', '%d-%m-%Y %H:%M:%S'))
'%(asctime)s %(levelname)-9s %(message)s', '%Y-%m-%d %H:%M:%S'))
root = logging.getLogger()
root.addHandler(handler)
signal.signal(signal.SIGUSR1, sig)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment