Commit 436bf7a4 authored by Nico Schottelius's avatar Nico Schottelius

pushcommit

parent aa343594
......@@ -50,8 +50,10 @@ def on_disconnect(client, userdata, rc):
if __name__ == '__main__':
logging.root.setLevel(logging.DEBUG)
# log.setLevel(logging.DEBUG)
log = logging.getLogger(__name__)
log.setLevel(logging.DEBUG)
print(log.getEffectiveLevel())
mqttc= mqtt.Client()
mqttc.on_connect=on_connect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment