diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-14 14:19:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 14:19:47 -0500 |
commit | 1619802228033455ff6e5863c52556996b38e8c6 (patch) | |
tree | 221d82bcf5ef163c833a5c602048beed7d3d1287 /synapse/config/logger.py | |
parent | Preparatory refactoring of the OidcHandlerTestCase (#8911) (diff) | |
download | synapse-1619802228033455ff6e5863c52556996b38e8c6.tar.xz |
Various clean-ups to the logging context code (#8935)
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r-- | synapse/config/logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py index d4e887a3e0..4df3f93c1c 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py @@ -206,7 +206,7 @@ def _setup_stdlib_logging(config, log_config_path, logBeginner: LogBeginner) -> # filter options, but care must when using e.g. MemoryHandler to buffer # writes. - log_context_filter = LoggingContextFilter(request="") + log_context_filter = LoggingContextFilter() log_metadata_filter = MetadataFilter({"server_name": config.server_name}) old_factory = logging.getLogRecordFactory() |