aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/utils.py5
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,