From 10e7af091614551470dcbb2e22d06e4beea9d305 Mon Sep 17 00:00:00 2001
From: Ian Grant <ian.conway.grant@gmail.com>
Date: Wed, 14 May 2025 21:29:52 -0400
Subject: [PATCH] fix: finetuned logging levels for file vs console logging

---
 run_on_maap.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/run_on_maap.py b/run_on_maap.py
index a6b22d9..f5c2135 100644
--- a/run_on_maap.py
+++ b/run_on_maap.py
@@ -154,11 +154,13 @@ def main(
 
     # Set up logging with both file and console handlers
     logger = logging.getLogger()
-    logger.setLevel(logging.INFO)
+    logger.setLevel(logging.DEBUG)
 
     # File handler with timestamps
     file_handler = logging.FileHandler(filename=output_dir / "run.log",
                                        mode="w")
+    file_handler.setLevel(logging.DEBUG)
+
     file_handler.setFormatter(
         logging.Formatter("%(asctime)s - %(message)s",
                           datefmt="%Y-%m-%d %H:%M:%S")
@@ -167,6 +169,7 @@ def main(
     # Console handler without timestamps
     console_handler = logging.StreamHandler()
     console_handler.setFormatter(logging.Formatter("%(message)s"))
+    console_handler.setLevel(logging.INFO)
 
     # Add both handlers
     logger.addHandler(file_handler)
-- 
GitLab