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-20 18:09:36 +0300
committerlovetox <philipp@hoerist.com>2020-03-20 18:09:36 +0300
commit847e21a4b26868363413ad43e12879f036161642 (patch)
tree469ef1cf3882c1dd068e4c2ed8d8c19a80fbcfe1 /nbxmpp
parent5cc8dca3126365ac2dd2296060d516814781f606 (diff)
Logging: Change log message
Diffstat (limited to 'nbxmpp')
-rw-r--r--nbxmpp/connection.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/nbxmpp/connection.py b/nbxmpp/connection.py
index af7ea26..6fc06b6 100644
--- a/nbxmpp/connection.py
+++ b/nbxmpp/connection.py
@@ -118,10 +118,7 @@ class Connection(Observable):
def _log_stanza(self, data, received=True):
direction = 'RECEIVED' if received else 'SENT'
- message = ('::::: DATA %s ::::'
- '\n_____________\n'
- '%s'
- '\n_____________')
+ message = ('::::: DATA %s ::::\n\n%s\n')
self._log.info(message, direction, data)
def start_tls_negotiation(self):