logging basicconig
This commit is contained in:
parent
4d91a3f6ce
commit
f18d2018e3
@ -69,6 +69,7 @@ def on_message(channel, method_frame, header_frame, body):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
logging.basicConfig(level="DEBUG")
|
||||||
logging.info("Guard service starting")
|
logging.info("Guard service starting")
|
||||||
mqtt = MQTT()
|
mqtt = MQTT()
|
||||||
mqtt.topic = config.MQTT_TOPIC
|
mqtt.topic = config.MQTT_TOPIC
|
||||||
|
Loading…
Reference in New Issue
Block a user