From d5561d393ac84b2df761accee341c08dcc00990f Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Fri, 6 Oct 2023 23:39:02 +0200 Subject: [PATCH] never log the config --- app/src/config.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/config.py b/app/src/config.py index 5c30294..76a1fa1 100644 --- a/app/src/config.py +++ b/app/src/config.py @@ -60,10 +60,7 @@ class Config(): config['inverters'] = def_config['inverters'] | usr_config['inverters'] cls.config = cls.conf_schema.validate(config) - dbg_config =cls.config - dbg_mqtt= dbg_config['mqtt'] - dbg_mqtt['passwd'] = '*******' - logging.debug(f'Readed config: "{dbg_config}" ') + #logging.debug(f'Readed config: "{cls.config}" ') except Exception as error: logger.error(f'Config.read: {error}')