diff --git a/pueblo/util/logging.py b/pueblo/util/logging.py index 490b4d8..3cbfa35 100644 --- a/pueblo/util/logging.py +++ b/pueblo/util/logging.py @@ -12,7 +12,7 @@ def setup_logging(level=logging.INFO, verbose: bool = False): def setup_logging_standard(level=logging.INFO, verbose: bool = False): - log_format = "%(asctime)-15s [%(name)-35s] %(levelname)-8s: %(message)s" + log_format = "%(asctime)-15s [%(name)-26s] %(levelname)-8s: %(message)s" logging.basicConfig(format=log_format, stream=sys.stderr, level=level) @@ -21,7 +21,7 @@ def setup_logging_colorlog(level=logging.INFO, verbose: bool = False): from colorlog.escape_codes import escape_codes reset = escape_codes["reset"] - log_format = f"%(asctime)-15s [%(name)-36s] %(log_color)s%(levelname)-8s:{reset} %(message)s" + log_format = f"%(asctime)-15s [%(name)-26s] %(log_color)s%(levelname)-8s:{reset} %(message)s" handler = colorlog.StreamHandler() handler.setFormatter(colorlog.ColoredFormatter(log_format)) diff --git a/pyproject.toml b/pyproject.toml index a0a8ae3..4518d66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,6 +128,7 @@ minversion = "2.0" addopts = """ -rfEX -p pytester --strict-markers --verbosity=3 --cov --cov-report=term-missing --cov-report=xml + --capture=no """ log_level = "DEBUG" log_cli_level = "DEBUG"