Skip to content
Snippets Groups Projects
Commit dbb6806f authored by Ian's avatar Ian Committed by Ian
Browse files

fix: set logger and file handler level to INFO instead of DEBUG

parent 8b79013e
No related branches found
No related tags found
No related merge requests found
...@@ -155,12 +155,12 @@ def main( ...@@ -155,12 +155,12 @@ def main(
# Set up logging with both file and console handlers # Set up logging with both file and console handlers
logger = logging.getLogger() logger = logging.getLogger()
logger.setLevel(logging.DEBUG) logger.setLevel(logging.INFO)
# File handler with timestamps # File handler with timestamps
file_handler = logging.FileHandler(filename=output_dir / "run.log", file_handler = logging.FileHandler(filename=output_dir / "run.log",
mode="w") mode="w")
file_handler.setLevel(logging.DEBUG) file_handler.setLevel(logging.INFO)
file_handler.setFormatter( file_handler.setFormatter(
logging.Formatter("%(asctime)s - %(message)s", logging.Formatter("%(asctime)s - %(message)s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment