Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
6aff91f6
Commit
6aff91f6
authored
Jul 29, 2008
by
Michael Hanselmann
Browse files
Log thread name when debug output is enabled
Reviewed-by: iustinp
parent
8090e19f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/logger.py
View file @
6aff91f6
...
...
@@ -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"
)
else
:
fmt
=
"%(asctime)s: pid=%(process)d %(levelname)s %(message)s"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment