diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py b/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py index d60c2cf6f3c57f02337dd9600dae3bb95d4b49b8..bda5dca95884460dd655f123642fab5070b5f177 100644 --- a/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py +++ b/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py @@ -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}