Remove debug

This commit is contained in:
Nico Schottelius 2016-11-13 20:52:49 +01:00
parent 436bf7a447
commit c41219ba9d

View file

@ -49,11 +49,9 @@ def on_disconnect(client, userdata, rc):
if __name__ == '__main__':
logging.root.setLevel(logging.DEBUG)
logging.basicConfig(format='%(levelname)s: %(message)s')
log = logging.getLogger(__name__)
log.setLevel(logging.DEBUG)
print(log.getEffectiveLevel())
mqttc= mqtt.Client()
mqttc.on_connect=on_connect