From 95ab2be89f07d61eda1497b07572aff345e6d3d1 Mon Sep 17 00:00:00 2001 From: nonchris Date: Thu, 2 Sep 2021 23:45:33 +0200 Subject: [PATCH] Set console logging to info level --- src/bot/log_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bot/log_setup.py b/src/bot/log_setup.py index 101e418..060de1d 100644 --- a/src/bot/log_setup.py +++ b/src/bot/log_setup.py @@ -15,12 +15,12 @@ # logger for writing to file file_logger = logging.FileHandler('data/events.log') -file_logger.setLevel(logging.INFO) # everything into the logging file +file_logger.setLevel(logging.INFO) file_logger.setFormatter(formatter) # logger for console prints console_logger = logging.StreamHandler() -console_logger.setLevel(logging.WARNING) # only important stuff to the terminal +console_logger.setLevel(logging.INFO) console_logger.setFormatter(formatter) # get new logger