issue #260: hide force-disconnect messages.

Parent is always force-disconnected, and now it shows up quite visibly
on every exit.
issue510
David Wilson 6 years ago
parent 26c6c6d048
commit 696cee57dd

@ -2923,7 +2923,7 @@ class Broker(object):
to shut down gracefully, then discard the :class:`Poller`. to shut down gracefully, then discard the :class:`Poller`.
""" """
for _, (side, _) in self.poller.readers + self.poller.writers: for _, (side, _) in self.poller.readers + self.poller.writers:
LOG.error('_broker_main() force disconnecting %r', side) LOG.debug('_broker_main() force disconnecting %r', side)
side.stream.on_disconnect(self) side.stream.on_disconnect(self)
self.poller.close() self.poller.close()

Loading…
Cancel
Save