Commit 6aff91f6 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Log thread name when debug output is enabled

Reviewed-by: iustinp
parent 8090e19f
......@@ -89,7 +89,7 @@ def SetupDaemon(logfile, debug=False, stderr_logging=False):
if debug:
fmt = ("%(asctime)s: pid=%(process)d %(levelname)s"
fmt = ("%(asctime)s: pid=%(process)d/%(threadName)s %(levelname)s"
" %(module)s:%(lineno)s %(message)s")
fmt = "%(asctime)s: pid=%(process)d %(levelname)s %(message)s"
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