Try including threadName in bodhi masher logs.

This commit is contained in:
Ralph Bean 2015-10-01 16:13:20 +00:00
parent 946fdad389
commit 3256dc011e

View file

@ -140,7 +140,15 @@ config = dict(
formatters=dict(
bare={
"datefmt": "%Y-%m-%d %H:%M:%S",
{% if inventory_hostname.startswith('bodhi-backend01') %}
# Here we use a different format just so we can include
# threadName. We set the threadName in the bodhi masher to some
# useful strings that will tell us which branch is doing what.
# See https://github.com/fedora-infra/bodhi/commit/66d94094
"format": "[%(asctime)s][%(name)10s %(levelname)7s]%(threadName)s %(message)s"
{% else %}
"format": "[%(asctime)s][%(name)10s %(levelname)7s] %(message)s"
{% endif %}
},
hefty={
"datefmt": "%Y-%m-%d %H:%M:%S",