Raise log level

This commit is contained in:
Nico Schottelius 2016-11-13 20:54:00 +01:00
parent c41219ba9d
commit d02ccc201f

View file

@ -48,7 +48,7 @@ def on_disconnect(client, userdata, rc):
client.reconnect() client.reconnect()
if __name__ == '__main__': if __name__ == '__main__':
logging.root.setLevel(logging.DEBUG) logging.root.setLevel(logging.INFO)
logging.basicConfig(format='%(levelname)s: %(message)s') logging.basicConfig(format='%(levelname)s: %(message)s')
log = logging.getLogger(__name__) log = logging.getLogger(__name__)