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