From dbdc45bceec0c9ba61f92ec360c887c5f260ae49 Mon Sep 17 00:00:00 2001 From: Lukas Petr Date: Sun, 22 Mar 2026 17:37:47 +0100 Subject: [PATCH] Comparator: Add date and time to logging Adding date and time to logging to better distinguish individual comparison runs. --- backend/automation/comparator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/automation/comparator.py b/backend/automation/comparator.py index 8552383..5c116af 100644 --- a/backend/automation/comparator.py +++ b/backend/automation/comparator.py @@ -425,7 +425,10 @@ def init_amount_checker(amount_str: str) -> int: 0: logging.ERROR, 1: logging.INFO, } - logging.basicConfig(level=log_levels.get(args.verbose, logging.DEBUG)) + logging.basicConfig( + level=log_levels.get(args.verbose, logging.DEBUG), + format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", + ) projects_tags = ProjectsManager.get_projects_tags_for_comparison( projects=args.projects,