Skip to content
Snippets Groups Projects
Commit 653b46d4 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-2844: logging

parent 93819119
No related branches found
No related tags found
No related merge requests found
...@@ -2011,10 +2011,10 @@ def compute_start_times_for_units(scheduling_units: [models.SchedulingUnitBluepr ...@@ -2011,10 +2011,10 @@ def compute_start_times_for_units(scheduling_units: [models.SchedulingUnitBluepr
if result is not None and result.start_time is not None: if result is not None and result.start_time is not None:
units_with_start_time.append(result) 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) i+1, len(scheduling_units), 100.0 * (i+1) / len(scheduling_units), result)
else: else:
logger.debug("compute_start_times_for_units: no start_time for unit [%d/%d] %.1f%% %s between ['%s', '%s']", 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) i+1, len(scheduling_units), 100.0 * (i+1) / len(scheduling_units), result or su.id, lower_bound, upper_bound)
except Exception as e: except Exception as e:
logger.exception(e) logger.exception(e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment