mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Cut down on log noise
This commit is contained in:
parent
27d89bda2f
commit
e572711431
@ -623,7 +623,6 @@ class IPCMessageSubscriber(IPCClient):
|
|||||||
except tornado.gen.TimeoutError:
|
except tornado.gen.TimeoutError:
|
||||||
raise tornado.gen.Return(None)
|
raise tornado.gen.Return(None)
|
||||||
|
|
||||||
log.debug('IPC Subscriber is starting reading')
|
|
||||||
exc_to_raise = None
|
exc_to_raise = None
|
||||||
ret = None
|
ret = None
|
||||||
try:
|
try:
|
||||||
|
@ -543,7 +543,6 @@ class SaltEvent(object):
|
|||||||
# IPCMessageSubscriber.read_sync() uses this type of timeout.
|
# IPCMessageSubscriber.read_sync() uses this type of timeout.
|
||||||
if not self.cpub and not self.connect_pub(timeout=wait):
|
if not self.cpub and not self.connect_pub(timeout=wait):
|
||||||
break
|
break
|
||||||
|
|
||||||
raw = self.subscriber.read_sync(timeout=wait)
|
raw = self.subscriber.read_sync(timeout=wait)
|
||||||
if raw is None:
|
if raw is None:
|
||||||
break
|
break
|
||||||
@ -625,6 +624,7 @@ class SaltEvent(object):
|
|||||||
request, it MUST subscribe the result to ensure the response is not lost
|
request, it MUST subscribe the result to ensure the response is not lost
|
||||||
should other regions of code call get_event for other purposes.
|
should other regions of code call get_event for other purposes.
|
||||||
'''
|
'''
|
||||||
|
log.trace("Get event. tag: %s", tag)
|
||||||
assert self._run_io_loop_sync
|
assert self._run_io_loop_sync
|
||||||
|
|
||||||
match_func = self._get_match_func(match_type)
|
match_func = self._get_match_func(match_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user