From 653b46d40ee82b666a72d2364a1da0f33a99ba08 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 7 Nov 2023 10:42:49 +0100 Subject: [PATCH] TMSS-2844: logging --- SAS/TMSS/backend/services/scheduling/lib/constraints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SAS/TMSS/backend/services/scheduling/lib/constraints.py b/SAS/TMSS/backend/services/scheduling/lib/constraints.py index 1ac68eba840..c869edd8c9c 100644 --- a/SAS/TMSS/backend/services/scheduling/lib/constraints.py +++ b/SAS/TMSS/backend/services/scheduling/lib/constraints.py @@ -2011,11 +2011,11 @@ def compute_start_times_for_units(scheduling_units: [models.SchedulingUnitBluepr if result is not None and result.start_time is not None: units_with_start_time.append(result) - logger.debug("compute_start_times_for_units: unit [%d/%d] %.1f%% %s", + logger.info("compute_start_times_for_units: unit [%d/%d] %.1f%% %s", i+1, len(scheduling_units), 100.0 * (i+1) / len(scheduling_units), result) else: - logger.debug("compute_start_times_for_units: no start_time for unit [%d/%d] %.1f%% %s between ['%s', '%s']", - i+1, len(scheduling_units), 100.0 * (i+1) / len(scheduling_units), result or su.id, lower_bound, upper_bound) + logger.info("compute_start_times_for_units: no start_time for unit [%d/%d] %.1f%% %s between ['%s', '%s']", + i+1, len(scheduling_units), 100.0 * (i+1) / len(scheduling_units), result or su.id, lower_bound, upper_bound) except Exception as e: logger.exception(e) return units_with_start_time -- GitLab