summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Kaye <1917473+michaelkaye@users.noreply.github.com>2020-02-05 08:57:38 +0000
committerGitHub <noreply@github.com>2020-02-05 08:57:37 +0000
commita831d2e4e3c424fb54f186bfa7d83a17965f933e (patch)
tree6e0383ce365fd78a55b66009f88fa452ba260ea7
parentDatabase updates to populate rooms.room_version (#6847) (diff)
downloadsynapse-a831d2e4e3c424fb54f186bfa7d83a17965f933e.tar.xz
Reduce performance logging to DEBUG (#6833)
* Reduce tnx performance logging to DEBUG
* Changelog.d
-rw-r--r--changelog.d/6833.misc1
-rw-r--r--synapse/storage/database.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/6833.misc b/changelog.d/6833.misc
new file mode 100644
index 0000000000..8a0605f90b
--- /dev/null
+++ b/changelog.d/6833.misc
@@ -0,0 +1 @@
+Reducing log level to DEBUG for synapse.storage.TIME.
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index 1003dd84a5..3eeb2f7c04 100644
--- a/synapse/storage/database.py
+++ b/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
             )