diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-08-10 14:56:48 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-08-10 14:56:48 +0100 |
commit | c08f9d95b2051c6998a234e4e28e621c174b9a0e (patch) | |
tree | e7a000a2493b7cc891ab5945f32331dd459519e2 /synapse | |
parent | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) (diff) | |
download | synapse-c08f9d95b2051c6998a234e4e28e621c174b9a0e.tar.xz |
log *after* reloading log config
... because logging *before* reloading means the log message gets lost in the old MemoryLogger
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/config/logger.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py index a87b11a1df..cfc20dcccf 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py @@ -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() |