Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Move some timeout checking logs to DEBUG #5785
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl authored Jul 29, 2019
1 parent 85b0bd8 commit 97a8b4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5785.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set the logs emitted when checking typing and presence timeouts to DEBUG level, not INFO.
2 changes: 1 addition & 1 deletion synapse/handlers/presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def _handle_timeouts(self):
"""Checks the presence of users that have timed out and updates as
appropriate.
"""
logger.info("Handling presence timeouts")
logger.debug("Handling presence timeouts")
now = self.clock.time_msec()

# Fetch the list of users that *may* have timed out. Things may have
Expand Down
2 changes: 1 addition & 1 deletion synapse/handlers/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _reset(self):
self._room_typing = {}

def _handle_timeouts(self):
logger.info("Checking for typing timeouts")
logger.debug("Checking for typing timeouts")

now = self.clock.time_msec()

Expand Down

0 comments on commit 97a8b4c

Please sign in to comment.