diff --git a/changelog.d/3561.bugfix b/changelog.d/3561.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..9a197cd67f509ce09ca4e148b52fd6d38c2bc096 --- /dev/null +++ b/changelog.d/3561.bugfix @@ -0,0 +1 @@ +Disable a noisy warning about logcontexts diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 98dde774310769f3ff08ecb5e5d15d94c217e559..a6a0e6ec9fb1a6cfec7aa43cd02835f7fd3a6650 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -343,9 +343,10 @@ class SQLBaseStore(object): """ parent_context = LoggingContext.current_context() if parent_context == LoggingContext.sentinel: - logger.warn( - "Running db txn from sentinel context: metrics will be lost", - ) + # warning disabled for 0.33.0 release; proper fixes will land imminently. + # logger.warn( + # "Running db txn from sentinel context: metrics will be lost", + # ) parent_context = None start_time = time.time()