From cb244e894f5dc6add160d2c2a1d1bf56ae8c71f3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 23 Jun 2026 12:18:21 +0200 Subject: prettier log output --- project/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'project/utils.py') diff --git a/project/utils.py b/project/utils.py index 34121e2..f8c0dd8 100644 --- a/project/utils.py +++ b/project/utils.py @@ -47,9 +47,10 @@ def full_exe_name(exe): @contextmanager def setup_logging(): logging.basicConfig( - format='%(asctime)s | %(levelname)s | %(message)s', - datefmt='%Y-%m-%d %H:%M:%S%z', level=logging.INFO, + datefmt='%Y-%m-%d %H:%M:%S%z', + # The 8 below is for "CRITICAL" + format='%(asctime)s | %(levelname)8s | %(message)s', # Log to stdout, because that's where subprocess's output goes (so that # they don't get interleaved). stream=sys.stdout, -- cgit v1.3