pushcommit

This commit is contained in:
Nico Schottelius 2016-11-13 20:50:40 +01:00
parent aa343594d2
commit 436bf7a447
1 changed files with 3 additions and 1 deletions

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