diff options
author | Erik Johnston <erik@matrix.org> | 2020-02-06 13:31:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 13:31:05 +0000 |
commit | ed630ea17c40d328cc0796e35d37287768c7140d (patch) | |
tree | 0ae50c65db5888606bbde8482ed61157072272aa /synapse/storage | |
parent | Merge pull request #6823 from matrix-org/rav/redact_changes/5 (diff) | |
download | synapse-ed630ea17c40d328cc0796e35d37287768c7140d.tar.xz |
Reduce amount of logging at INFO level. (#6862)
A lot of the things we log at INFO are now a bit superfluous, so lets make them DEBUG logs to reduce the amount we log by default. Co-Authored-By: Brendan Abolivier <babolivier@matrix.org> Co-authored-by: Brendan Abolivier <github@brendanabolivier.com>
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/data_stores/main/user_directory.py | 4 | ||||
-rw-r--r-- | synapse/storage/persist_events.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/data_stores/main/user_directory.py b/synapse/storage/data_stores/main/user_directory.py index 90c180ec6d..6b8130bf0f 100644 --- a/synapse/storage/data_stores/main/user_directory.py +++ b/synapse/storage/data_stores/main/user_directory.py @@ -183,7 +183,7 @@ class UserDirectoryBackgroundUpdateStore(StateDeltasStore): ) return 1 - logger.info( + logger.debug( "Processing the next %d rooms of %d remaining" % (len(rooms_to_work_on), progress["remaining"]) ) @@ -308,7 +308,7 @@ class UserDirectoryBackgroundUpdateStore(StateDeltasStore): ) return 1 - logger.info( + logger.debug( "Processing the next %d users of %d remaining" % (len(users_to_work_on), progress["remaining"]) ) diff --git a/synapse/storage/persist_events.py b/synapse/storage/persist_events.py index af3fd67ab9..a5370ed527 100644 --- a/synapse/storage/persist_events.py +++ b/synapse/storage/persist_events.py @@ -390,7 +390,7 @@ class EventsPersistenceStorage(object): state_delta_reuse_delta_counter.inc() break - logger.info("Calculating state delta for room %s", room_id) + logger.debug("Calculating state delta for room %s", room_id) with Measure( self._clock, "persist_events.get_new_state_after_events" ): |