Commit 462ca804 authored by Tim Schoof's avatar Tim Schoof
Browse files

Add thread names to logging messages

parent 2ade74b0
......@@ -94,7 +94,7 @@ class Application:
def _setup_logging(self):
log_level = self.options["log_level"]
format = (
"%(asctime)s AsapoWorker %(filename)s:%(lineno)d "
"%(asctime)s %(threadName)s AsapoWorker %(filename)s:%(lineno)d "
"%(levelname)-8s %(message)s")
logging.basicConfig(level=log_level, format=format)"Log level set to %s", log_level)
Supports Markdown
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