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)