Reduce performance logging to DEBUG (#6833)

* Reduce tnx performance logging to DEBUG
* Changelog.d
This commit is contained in:
Michael Kaye 2020-02-05 08:57:38 +00:00 committed by GitHub
parent d88e0ec080
commit a831d2e4e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/6833.misc Normal file
View file

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

View file

@ -343,7 +343,7 @@ class Database(object):
top_three_counters = self._txn_perf_counters.interval(duration, limit=3) 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 "Total database time: %.3f%% {%s}", ratio * 100, top_three_counters
) )