diff --git a/asab/log.py b/asab/log.py index 0a258b145..fd91b1847 100644 --- a/asab/log.py +++ b/asab/log.py @@ -452,6 +452,7 @@ def _on_write(self): self._socket.sendall(msg) except Exception as e: # Contingency dump when the socket is not ready + print(msg.decode("utf-8"), file=sys.stderr) print( "Error when writing to syslog '{}': {}".format(self._address, e), traceback.format_exc(),