quick frontends (app, chat): disabled the 2 most verbose logs, as they are barely useful and make reading logs difficult.
This commit is contained in:
parent
218390a0d9
commit
e14e69c883
1 changed files with 19 additions and 15 deletions
|
|
@ -826,19 +826,21 @@ class QuickApp(object):
|
|||
raise NotImplementedError
|
||||
|
||||
def presenceUpdateHandler(self, entity_s, show, priority, statuses, profile):
|
||||
log.debug(
|
||||
_(
|
||||
u"presence update for %(entity)s (show=%(show)s, priority=%(priority)s, "
|
||||
u"statuses=%(statuses)s) [profile:%(profile)s]"
|
||||
)
|
||||
% {
|
||||
"entity": entity_s,
|
||||
C.PRESENCE_SHOW: show,
|
||||
C.PRESENCE_PRIORITY: priority,
|
||||
C.PRESENCE_STATUSES: statuses,
|
||||
"profile": profile,
|
||||
}
|
||||
)
|
||||
# XXX: this log is commented because it's really too verbose even for DEBUG logs
|
||||
# but it is kept here as it may still be useful for troubleshooting
|
||||
# log.debug(
|
||||
# _(
|
||||
# u"presence update for %(entity)s (show=%(show)s, priority=%(priority)s, "
|
||||
# u"statuses=%(statuses)s) [profile:%(profile)s]"
|
||||
# )
|
||||
# % {
|
||||
# "entity": entity_s,
|
||||
# C.PRESENCE_SHOW: show,
|
||||
# C.PRESENCE_PRIORITY: priority,
|
||||
# C.PRESENCE_STATUSES: statuses,
|
||||
# "profile": profile,
|
||||
# }
|
||||
# )
|
||||
entity = jid.JID(entity_s)
|
||||
|
||||
if entity == self.profiles[profile].whoami:
|
||||
|
|
|
|||
Loading…
Reference in a new issue