diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-23 12:18:21 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-23 12:18:21 +0200 |
| commit | cb244e894f5dc6add160d2c2a1d1bf56ae8c71f3 (patch) | |
| tree | 0fe1fa7580edf496c88ac5cc5340326bb8d36986 /project/utils.py | |
| parent | workflows/aur: passwordless sudo for builder (diff) | |
| download | cmake-common-cb244e894f5dc6add160d2c2a1d1bf56ae8c71f3.tar.gz cmake-common-cb244e894f5dc6add160d2c2a1d1bf56ae8c71f3.zip | |
prettier log output
Diffstat (limited to 'project/utils.py')
| -rw-r--r-- | project/utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
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, |
