Message skip message logged in debug mode to prevent log pollution
This commit is contained in:
parent
4d3d8ddd34
commit
2eccd41420
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Bus(object):
|
||||||
while not stop:
|
while not stop:
|
||||||
msg = self.get()
|
msg = self.get()
|
||||||
if msg.timestamp and time.time() - msg.timestamp > self._MSG_EXPIRY_TIMEOUT:
|
if msg.timestamp and time.time() - msg.timestamp > self._MSG_EXPIRY_TIMEOUT:
|
||||||
logger.info('{} seconds old message on the bus expired, ignoring it: {}'
|
logger.debug('{} seconds old message on the bus expired, ignoring it: {}'
|
||||||
.format(int(time.time()-msg.timestamp), msg))
|
.format(int(time.time()-msg.timestamp), msg))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue