Skip to content

Commit

Permalink
Don't log debug messages during close
Browse files Browse the repository at this point in the history
This can hit race conditions where we might not have a fully functional
logger.
  • Loading branch information
cachedout committed Mar 6, 2019
1 parent dd813d8 commit 864096b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions salt/transport/zeromq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 864096b

Please sign in to comment.