logging basicconig

This commit is contained in:
Torma Kristóf 2020-09-18 14:44:20 +02:00
parent 4d91a3f6ce
commit f18d2018e3
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def on_message(channel, method_frame, header_frame, body):
if __name__ == "__main__":
logging.basicConfig(level="DEBUG")
logging.info("Guard service starting")
mqtt = MQTT()
mqtt.topic = config.MQTT_TOPIC