diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-11-10 16:47:20 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-11-10 16:47:20 +0100 |
commit | f6497f1fb4cf22998a71ed0285933288e9366e23 (patch) | |
tree | 677a5113c0302b4ac2f8a6d430963fb2065cb9b3 /pyload | |
parent | improved wait method for hoster (diff) | |
download | pyload-f6497f1fb4cf22998a71ed0285933288e9366e23.tar.xz |
Better log timestamp
Diffstat (limited to 'pyload')
-rw-r--r-- | pyload/Core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/Core.py b/pyload/Core.py index 4f20ae33e..324494500 100644 --- a/pyload/Core.py +++ b/pyload/Core.py @@ -513,9 +513,9 @@ class Core(object): except: # something did go wrong, locale is heavily platform dependant pass - # default formatting when no one was obtained + # default formatting when no one was obtained (ex.: 2013-10-22 18:27:46) if not tfrm: - tfrm = "%d.%m.%Y %H:%M:%S" + tfrm = "%Y-%m-%d %H:%M:%S" frm = logging.Formatter("%(asctime)s %(levelname)-8s %(message)s", tfrm) console.setFormatter(frm) |