diff --git a/BotResources.py b/BotResources.py index 0020b99..4e551d0 100644 --- a/BotResources.py +++ b/BotResources.py @@ -225,10 +225,10 @@ def init_global_logger(_verbose_level: str = "WARNING"): if not exists("./logs/"): os.mkdir("./logs/") fh = logging.FileHandler(f'./logs/DRB-{date.today()}.log') - fh.setLevel(logging.DEBUG) + fh.setLevel(logging.INFO) fh_debug = logging.FileHandler(f'./logs/DRB-{date.today()}.DEBUG.log') - fh_debug.setLevel(logging.WARNING) + fh_debug.setLevel(logging.DEBUG) # create terminal handler with a higher log level th = logging.StreamHandler()