summary refs log tree commit diff
path: root/tests/test_utils
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-12-14 14:19:47 -0500
committerGitHub <noreply@github.com>2020-12-14 14:19:47 -0500
commit1619802228033455ff6e5863c52556996b38e8c6 (patch)
tree221d82bcf5ef163c833a5c602048beed7d3d1287 /tests/test_utils
parentPreparatory refactoring of the OidcHandlerTestCase (#8911) (diff)
downloadsynapse-1619802228033455ff6e5863c52556996b38e8c6.tar.xz
Various clean-ups to the logging context code (#8935)
Diffstat (limited to 'tests/test_utils')
-rw-r--r--tests/test_utils/logging_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils/logging_setup.py b/tests/test_utils/logging_setup.py
index fdfb840b62..52ae5c5713 100644
--- a/tests/test_utils/logging_setup.py
+++ b/tests/test_utils/logging_setup.py
@@ -48,7 +48,7 @@ def setup_logging():
     handler = ToTwistedHandler()
     formatter = logging.Formatter(log_format)
     handler.setFormatter(formatter)
-    handler.addFilter(LoggingContextFilter(request=""))
+    handler.addFilter(LoggingContextFilter())
     root_logger.addHandler(handler)
 
     log_level = os.environ.get("SYNAPSE_TEST_LOG_LEVEL", "ERROR")