Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/nbxmpp
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-03-19 20:24:54 +0300
committerlovetox <philipp@hoerist.com>2020-03-19 20:25:35 +0300
commit67d3fc77bdb05c79f38e1c19b5aaf8cc294c41c2 (patch)
tree55d5a32e529dcf8623ed0174d4ecf0842509eca1 /nbxmpp
parented696d06b2877040f372fb44043380046c660401 (diff)
Connection: Use INFO log level for connection errors
Diffstat (limited to 'nbxmpp')
-rw-r--r--nbxmpp/tcp.py2
-rw-r--r--nbxmpp/websocket.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nbxmpp/tcp.py b/nbxmpp/tcp.py
index 8a66fd9..7647660 100644
--- a/nbxmpp/tcp.py
+++ b/nbxmpp/tcp.py
@@ -118,7 +118,7 @@ class TCPConnection(Connection):
else:
raise ValueError('Address must be a service or host')
except GLib.Error as error:
- log.error('Connect Error: %s', error)
+ log.info('Connect Error: %s', error)
self._finalize('connection-failed')
return
diff --git a/nbxmpp/websocket.py b/nbxmpp/websocket.py
index bd4a8d7..983d735 100644
--- a/nbxmpp/websocket.py
+++ b/nbxmpp/websocket.py
@@ -72,7 +72,7 @@ class WebsocketConnection(Connection):
self._finalize('disconnected')
return
- log.error('Connection Error: %s', error)
+ log.info('Connection Error: %s', error)
self._finalize('connection-failed')
return