Skip to content
Snippets Groups Projects
Commit c08f9d95 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

log *after* reloading log config

... because logging *before* reloading means the log message gets lost in the old MemoryLogger
parent b37c4724
No related branches found
No related tags found
No related merge requests found
......@@ -193,9 +193,8 @@ def setup_logging(config, use_worker_options=False):
def sighup(signum, stack):
# it might be better to use a file watcher or something for this.
logging.info("Reloading log config from %s due to SIGHUP",
log_config)
load_log_config()
logging.info("Reloaded log config from %s due to SIGHUP", log_config)
load_log_config()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment