change labeled-response WARN logging to DEBUG - it's mostly unimportant

This commit is contained in:
jesopo 2019-11-04 10:17:47 +00:00
parent 106d7d7ff8
commit 754269576a

View file

@ -51,7 +51,7 @@ class Module(ModuleManager.BaseModule):
def _recv(self, server, label, lines): def _recv(self, server, label, lines):
if not label in server._label_cache: if not label in server._label_cache:
self.log.warn("unknown label received on %s: %s", self.log.debug("unknown label received on %s: %s",
[str(server), label]) [str(server), label])
return return
@ -62,6 +62,6 @@ class Module(ModuleManager.BaseModule):
for label, other_cached in server._label_cache.items(): for label, other_cached in server._label_cache.items():
other_cached.labels_since += 1 other_cached.labels_since += 1
if other_cached.labels_since == 10: if other_cached.labels_since == 10:
self.log.warn( self.log.debug(
"%d labels seen while waiting for response to %s on %s", "%d labels seen while waiting for response to %s on %s",
[other_cached.labels_since, label, str(server)]) [other_cached.labels_since, label, str(server)])