diff sat/core/xmpp.py @ 2985:1d92ad95185f

core (xmpp): removed log for presence, as it is barely useful and too verbose even for debug logs.
author Goffi <goffi@goffi.org>
date Tue, 02 Jul 2019 19:36:26 +0200
parents 4bac4e734666
children 94708a7d3ecf
line wrap: on
line diff
--- a/sat/core/xmpp.py	Tue Jul 02 19:36:15 2019 +0200
+++ b/sat/core/xmpp.py	Tue Jul 02 19:36:26 2019 +0200
@@ -1425,19 +1425,6 @@
         presence_d.addCallback(lambda __: super(SatPresenceProtocol, self).send(obj))
 
     def availableReceived(self, entity, show=None, statuses=None, priority=0):
-        log.debug(
-            _(
-                u"presence update for [{entity}] (available, show={show} "
-                u"statuses={statuses} priority={priority})"
-            )
-            .format(
-                entity=entity,
-                show=show,
-                statuses=statuses,
-                priority=priority,
-            )
-        )
-
         if not statuses:
             statuses = {}