mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-31 08:44:17 -04:00
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>
This commit is contained in:
parent
9bcd37146e
commit
ed630ea17c
12 changed files with 22 additions and 21 deletions
|
@ -149,7 +149,7 @@ class UserDirectoryHandler(StateDeltasHandler):
|
|||
self.pos, room_max_stream_ordering
|
||||
)
|
||||
|
||||
logger.info("Handling %d state deltas", len(deltas))
|
||||
logger.debug("Handling %d state deltas", len(deltas))
|
||||
yield self._handle_deltas(deltas)
|
||||
|
||||
self.pos = max_pos
|
||||
|
@ -195,7 +195,7 @@ class UserDirectoryHandler(StateDeltasHandler):
|
|||
room_id, self.server_name
|
||||
)
|
||||
if not is_in_room:
|
||||
logger.info("Server left room: %r", room_id)
|
||||
logger.debug("Server left room: %r", room_id)
|
||||
# Fetch all the users that we marked as being in user
|
||||
# directory due to being in the room and then check if
|
||||
# need to remove those users or not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue