Commit 847e21a4 authored by Philipp Hörist's avatar Philipp Hörist

Logging: Change log message

parent 5cc8dca3
Pipeline #5202 failed with stages
in 5 seconds
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment