summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-07-30 02:02:18 +1000
committerGitHub <noreply@github.com>2019-07-30 02:02:18 +1000
commit97a8b4caf7badb83c941c8afdb7ce237ee19cb7d (patch)
tree8aa4d41a7a389e538632ee444b4878e546e6c5fd
parentUpdate the device list cache when keys/query is called (#5693) (diff)
downloadsynapse-97a8b4caf7badb83c941c8afdb7ce237ee19cb7d.tar.xz
Move some timeout checking logs to DEBUG #5785
-rw-r--r--changelog.d/5785.misc1
-rw-r--r--synapse/handlers/presence.py2
-rw-r--r--synapse/handlers/typing.py2
3 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/5785.misc b/changelog.d/5785.misc
new file mode 100644
index 0000000000..0691222c42
--- /dev/null
+++ b/changelog.d/5785.misc
@@ -0,0 +1 @@
+Set the logs emitted when checking typing and presence timeouts to DEBUG level, not INFO.
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index ea54d0b991..94a9ca0357 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -333,7 +333,7 @@ class PresenceHandler(object):
         """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
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py
index 6b661aa93d..f882330293 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -83,7 +83,7 @@ class TypingHandler(object):
         self._room_typing = {}
 
     def _handle_timeouts(self):
-        logger.info("Checking for typing timeouts")
+        logger.debug("Checking for typing timeouts")
 
         now = self.clock.time_msec()