From 0d9bf14881bc18d96a4fec8c3a66a4737098adea Mon Sep 17 00:00:00 2001 From: Clair Delafuente Date: Mon, 18 Aug 2025 15:48:27 -0400 Subject: [PATCH] Actually bother to set the log level based on the config --- __init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 577bc4b..2fe9efa 100644 --- a/__init__.py +++ b/__init__.py @@ -6,7 +6,6 @@ import sys import json VERSION = "0.0.1" - # Load configuration ROBLOSECURITY = config.roblosecurity or None DST_DIR = config.dst_dir or './AppSettings' @@ -34,7 +33,7 @@ stdout_handler.setFormatter(log_format) logfile_handler = logging.FileHandler("logs/appsettings.log", mode="w") logfile_handler.setFormatter(log_format) log = logging.getLogger("AppSettings-archiver") -log.setLevel(logging.INFO) +log.setLevel(LOG_LEVEL) log.addHandler(stdout_handler) log.addHandler(logfile_handler)