From e7b3115a16df96672b33874f13082bcd49f12a96 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Thu, 6 Jun 2024 23:33:15 +0200 Subject: [PATCH] Lower logging level. --- thermostat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermostat.py b/thermostat.py index d861347..23f7141 100644 --- a/thermostat.py +++ b/thermostat.py @@ -51,7 +51,7 @@ with open('./conf.yml') as conf: logging.getLogger().setLevel(logging.DEBUG) elif os.environ['FLASK_ENV'] == 'production': flask_settings_env = yaml_conf.get("flask_settings_prod") - logging.getLogger().setLevel(logging.WARNING) + logging.getLogger().setLevel(logging.INFO) else: logging.error("FLASK_ENV must be set to development or production.") sys.exit(1)