From 2eccd41420ffd88015b7cb5ed89f9a6a0c2e0a5f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 16 Oct 2018 10:26:10 +0200 Subject: [PATCH] Message skip message logged in debug mode to prevent log pollution --- platypush/bus/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/bus/__init__.py b/platypush/bus/__init__.py index d5489e620..7a461c6b2 100644 --- a/platypush/bus/__init__.py +++ b/platypush/bus/__init__.py @@ -50,7 +50,7 @@ class Bus(object): while not stop: msg = self.get() 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)) continue