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

TMSS-1124: logging

parent 2285761c
No related branches found
No related tags found
1 merge request!633TMSS-1124
......@@ -298,6 +298,7 @@ class SchedulingUnitObservingStrategyTemplate(BaseStrategyTemplate):
except SchedulingConstraintsTemplate.DoesNotExist:
# or use the latest if the default does not exist
constraints_template = SchedulingConstraintsTemplate.objects.order_by('-updated_at').first()
logger.info("SchedulingUnitObservingStrategyTemplate.template_doc_complete_with_defaults id=%s using SchedulingConstraintsTemplate name='%s' version=%s as default because none was specified.", self.id, constraints_template.name, constraints_template.version)
# inject name/version into template_doc
template_doc['scheduling_constraints_template'] = {"name": constraints_template.name, "version": constraints_template.version}
......
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