diff --git a/hauptbahnhof/hauptbahnhof.py b/hauptbahnhof/hauptbahnhof.py index bb75f192f27c58f513d4008743a9a9934d992db5..c598c30be06b133c6ec002c51f5f9719f0b9cc1c 100644 --- a/hauptbahnhof/hauptbahnhof.py +++ b/hauptbahnhof/hauptbahnhof.py @@ -103,13 +103,13 @@ class Hauptbahnhof: futures = self._subscriptions[msg.topic] except KeyError: # Received unknown message - this is strange, log and ignore - self.log("Received unsubscribed message on %s with content: %s"%( + self.log.info("Received unsubscribed message on %s with content: %s"%( msg.topic, msg.payload)) try: payloadobj = json.loads(payload) except json.JSONDecodeError: - self.log("Invalid json received: %s"%payload) + self.log.info("Invalid json received: %s"%payload) continue except: continue