From f715ad55a2f981d78de3afcaf442851f036f9d46 Mon Sep 17 00:00:00 2001 From: vishnuchalla Date: Tue, 14 May 2024 09:03:23 -0400 Subject: [PATCH] Updating logger config to be more verbose (#25) Signed-off-by: KBOCPDocs --- fmatch/matcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmatch/matcher.py b/fmatch/matcher.py index 5f2715e..d5dae64 100644 --- a/fmatch/matcher.py +++ b/fmatch/matcher.py @@ -32,7 +32,7 @@ def __init__( handler = logging.StreamHandler(sys.stdout) handler.setLevel(level) formatter = logging.Formatter( - "%(asctime)s - %(name)s - %(levelname)s - %(message)s" + "%(asctime)s [%(name)s:%(filename)s:%(lineno)d] %(levelname)s: %(message)s" ) handler.setFormatter(formatter) self.logger.addHandler(handler)