issue #260: hide force-disconnect messages.

Parent is always force-disconnected, and now it shows up quite visibly
on every exit.
This commit is contained in:
David Wilson 2019-01-29 17:11:51 +00:00
parent 26c6c6d048
commit 696cee57dd
1 changed files with 1 additions and 1 deletions

View File

@ -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()