Skip to content
Browse files

Raised the publishing logging events to info from debug

  • Loading branch information...
1 parent b18e19b commit 167e2416afa1a4a34342cefa507304ddff7dcae3 @kylegordon committed Sep 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mqtt-republisher.py
View
4 mqtt-republisher.py
@@ -105,11 +105,11 @@ def on_message(msg):
if msg.topic in RepublishingMap.mapdict:
## Found an item. Replace it with one from the dictionary
mqttc.publish(RepublishingMap.mapdict[msg.topic], msg.payload)
- logging.debug("Republishing: %s -> %s", msg.topic, RepublishingMap.mapdict[msg.topic])
+ logging.info("Republishing: %s -> %s", msg.topic, RepublishingMap.mapdict[msg.topic])
else:
# Received something with a /raw/ topic, but it didn't match. Push it out with /unsorted/ prepended
mqttc.publish("/unsorted" + msg.topic, msg.payload)
- logging.debug("Unknown: %s", msg.topic)
+ logging.info("Unknown: %s", msg.topic)
def main_loop():
"""

0 comments on commit 167e241

Please sign in to comment.
Something went wrong with that request. Please try again.