Browse Source

Reduce performance logging to DEBUG (#6833)

* Reduce tnx performance logging to DEBUG
* Changelog.d
Michael Kaye 4 years ago
parent
commit
a831d2e4e3
2 changed files with 2 additions and 1 deletions
  1. 1 0
      changelog.d/6833.misc
  2. 1 1
      synapse/storage/database.py

+ 1 - 0
changelog.d/6833.misc

@@ -0,0 +1 @@
+Reducing log level to DEBUG for synapse.storage.TIME.

+ 1 - 1
synapse/storage/database.py

@@ -343,7 +343,7 @@ class Database(object):
 
             top_three_counters = self._txn_perf_counters.interval(duration, limit=3)
 
-            perf_logger.info(
+            perf_logger.debug(
                 "Total database time: %.3f%% {%s}", ratio * 100, top_three_counters
             )