never log the config
This commit is contained in:
@@ -60,10 +60,7 @@ class Config():
|
|||||||
config['inverters'] = def_config['inverters'] | usr_config['inverters']
|
config['inverters'] = def_config['inverters'] | usr_config['inverters']
|
||||||
|
|
||||||
cls.config = cls.conf_schema.validate(config)
|
cls.config = cls.conf_schema.validate(config)
|
||||||
dbg_config =cls.config
|
#logging.debug(f'Readed config: "{cls.config}" ')
|
||||||
dbg_mqtt= dbg_config['mqtt']
|
|
||||||
dbg_mqtt['passwd'] = '*******'
|
|
||||||
logging.debug(f'Readed config: "{dbg_config}" ')
|
|
||||||
|
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
logger.error(f'Config.read: {error}')
|
logger.error(f'Config.read: {error}')
|
||||||
|
|||||||
Reference in New Issue
Block a user