[B] set default logging level to info
This commit is contained in:
parent
06cf35f75b
commit
6cae0cb33e
@ -146,6 +146,8 @@ if __name__ == "__main__":
|
||||
# configure logging
|
||||
log = logging.getLogger(__name__)
|
||||
log.setLevel(logging.DEBUG)
|
||||
ch = logging.StreamHandler()
|
||||
ch.setLevel(logging.INFO)
|
||||
log.info('Running in path {}'.format(dirname))
|
||||
if serverconf["url"] == "power.example.com" and mqttconf['host'] == "power.example.com":
|
||||
log.critical('Server/Broker -> url still default value')
|
||||
|
Loading…
x
Reference in New Issue
Block a user