summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Logger.py b/src/lib/Logger.py
index de5466cd4..b41f897df 100644
--- a/src/lib/Logger.py
+++ b/src/lib/Logger.py
@@ -165,7 +165,7 @@ def setup_logging(procname, to_console=True, to_syslog=True, syslog_facility='da
if not to_file == None:
filelog = logging.FileHandler(to_file)
filelog.setLevel(logging.DEBUG)
- filelog.setFormatter(logging.Formatter('%(name)s[%(process)d]: %(message)s'))
+ filelog.setFormatter(logging.Formatter('%(asctime)s %(name)s[%(process)d]: %(message)s'))
logging.root.addHandler(filelog)
logging.root.setLevel(level)
logging.already_setup = True