Unparsed conten logging message improved
This commit is contained in:
parent
1080d97d08
commit
acb90b5e84
@ -100,7 +100,7 @@ class base(dict):
|
|||||||
"Received data for (%s) %s - %s", self.topic, key, str(self.get(key)))
|
"Received data for (%s) %s - %s", self.topic, key, str(self.get(key)))
|
||||||
self.callback_caller(key, self[key])
|
self.callback_caller(key, self[key])
|
||||||
elif key not in self.RX_IGNORE_KEYS:
|
elif key not in self.RX_IGNORE_KEYS:
|
||||||
logger.warning('Got a message with unparsed content "%s"', key)
|
logger.warning('Got a message from \"%s\"with unparsed content "%s"', self.topic, key)
|
||||||
else:
|
else:
|
||||||
logger.debug("Ignoring key %s", key)
|
logger.debug("Ignoring key %s", key)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user