diff --git a/BotResources.py b/BotResources.py index fb4169c..b8b8c43 100644 --- a/BotResources.py +++ b/BotResources.py @@ -232,8 +232,8 @@ def init_global_logger(_verbose_level: str = "WARNING"): th.setLevel(numeric_log_level) # create formatter and add it to the handlers - th_formatter = logging.Formatter('[%(asctime)s %(name)s->%(funcName)s():%(lineno)s] - %(levelname)s - %(message)s') - fh_formatter = logging.Formatter('[%(asctime)s %(name)s->%(funcName)s()] - %(levelname)s - %(message)s') + fh_formatter = logging.Formatter('[%(asctime)s %(name)s->%(funcName)s():%(lineno)s] - %(levelname)s - %(message)s') + th_formatter = logging.Formatter('[%(asctime)s %(name)s->%(funcName)s()] - %(levelname)s - %(message)s') fh.setFormatter(fh_formatter) th.setFormatter(th_formatter)