Remove debug
This commit is contained in:
parent
436bf7a447
commit
c41219ba9d
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue