diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-11-15 20:54:07 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-11-15 21:07:55 +0300 |
commit | 6e42eae5568a634930ee285b358632e94bb71a35 (patch) | |
tree | 2301d34079701ee2f4c83b11961611977358f7c9 | |
parent | b2be4c918861fc7fc87486596a8509b22e0a82f3 (diff) |
[omemo] Change log levels
-rw-r--r-- | omemo/omemo_connection.py | 12 | ||||
-rw-r--r-- | omemo/xmpp.py | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/omemo/omemo_connection.py b/omemo/omemo_connection.py index fbebf4e..31630f2 100644 --- a/omemo/omemo_connection.py +++ b/omemo/omemo_connection.py @@ -118,7 +118,7 @@ class OMEMOConnection: """ if event.conn.name != self.account: return - log.debug('%s => Announce Support after Sign In', self.account) + log.info('%s => Announce Support after Sign In', self.account) self.query_for_bundles = [] self.publish_bundle() self.query_devicelist() @@ -132,8 +132,8 @@ class OMEMOConnection: app.gajim_optional_features[self.account].append(NS_NOTIFY) self._compute_caps_hash() if app.account_is_connected(self.account): - log.debug('%s => Announce Support after Plugin Activation', - self.account) + log.info('%s => Announce Support after Plugin Activation', + self.account) self.query_for_bundles = [] self.publish_bundle() self.query_devicelist() @@ -355,7 +355,7 @@ class OMEMOConnection: if room not in self.groupchat: self.groupchat[room] = self.temp_groupchat[room] - log.debug('OMEMO capable Room found: %s', room) + log.info('OMEMO capable Room found: %s', room) self.get_con().get_affiliation_list(room, 'owner') self.get_con().get_affiliation_list(room, 'admin') @@ -601,8 +601,8 @@ class OMEMOConnection: devices_list = list(set(devices_list)) self.omemo.set_own_devices(devices_list) - log.debug('%s => Publishing own Devices: %s', - self.account, devices_list) + log.info('%s => Publishing own Devices: %s', + self.account, devices_list) device_announce = DeviceListAnnouncement(devices_list) self.send_with_callback(device_announce, self.device_list_publish_result) diff --git a/omemo/xmpp.py b/omemo/xmpp.py index bc7ff41..0b04080 100644 --- a/omemo/xmpp.py +++ b/omemo/xmpp.py @@ -313,7 +313,7 @@ def unpack_device_list_update(stanza, account): items = event_node.getTag('items', {'node': NS_DEVICE_LIST})
if not items or len(items.getChildren()) != 1:
- log.debug(
+ log.warning(
account +
' => Device list update items node empty or not omemo device update')
return result
|