mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Reduce performance logging to DEBUG (#6833)
* Reduce tnx performance logging to DEBUG * Changelog.d
This commit is contained in:
parent
d88e0ec080
commit
a831d2e4e3
2 changed files with 2 additions and 1 deletions
1
changelog.d/6833.misc
Normal file
1
changelog.d/6833.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Reducing log level to DEBUG for synapse.storage.TIME.
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue