From 864096b36b979cf0984a96488d23881275996163 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Wed, 6 Mar 2019 15:12:20 -0700 Subject: [PATCH] Don't log debug messages during close This can hit race conditions where we might not have a fully functional logger. --- salt/transport/zeromq.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/salt/transport/zeromq.py b/salt/transport/zeromq.py index 2818740d59d5..435561c8e80e 100644 --- a/salt/transport/zeromq.py +++ b/salt/transport/zeromq.py @@ -234,8 +234,6 @@ def close(self): self._closing = True if hasattr(self, 'message_client'): self.message_client.close() - else: - log.debug('No message_client attr for AsyncZeroMQReqChannel found. Not destroying sockets.') # Remove the entry from the instance map so that a closed entry may not # be reused.