pushcommit

This commit is contained in:
Nico Schottelius 2016-11-13 20:50:40 +01:00
parent aa343594d2
commit 436bf7a447

View file

@ -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