summary refs log tree commit diff
path: root/synapse/logging/context.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-07-14 10:41:16 +0100
committerErik Johnston <erik@matrix.org>2020-07-14 10:41:16 +0100
commit9fc4231ad890a805a3dd3faa643fcc02be0eb3aa (patch)
treeec91e1791a79c9fca8171624da32d5fee84ee942 /synapse/logging/context.py
parentHandle empty suffixes in nested_logging_context (diff)
downloadsynapse-erikj/jaeger_measure.tar.xz
Don't copy scopes from parent span github/erikj/jaeger_measure erikj/jaeger_measure
Diffstat (limited to 'synapse/logging/context.py')
-rw-r--r--synapse/logging/context.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/logging/context.py b/synapse/logging/context.py
index e1d63e6db3..584dd03609 100644
--- a/synapse/logging/context.py
+++ b/synapse/logging/context.py
@@ -367,15 +367,11 @@ class LoggingContext(object):
         # we track the current request
         record.request = self.request
 
-        # we also track the current scope:
-        record.scope = self.scope
-
     def copy_to_twisted_log_entry(self, record) -> None:
         """
         Copy logging fields from this context to a Twisted log record.
         """
         record["request"] = self.request
-        record["scope"] = self.scope
 
     def start(self, rusage: "Optional[resource._RUsage]") -> None:
         """