From af0ba75b13db64dadd4946e8a3f6c3a97f2c7d96 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Fri, 10 Jul 2020 16:25:58 +0200 Subject: [PATCH] TMSS-152: simplified logging --- SAS/TMSS/src/tmss/tmssapp/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SAS/TMSS/src/tmss/tmssapp/tasks.py b/SAS/TMSS/src/tmss/tmssapp/tasks.py index b0f62c66201..f8514f1cc06 100644 --- a/SAS/TMSS/src/tmss/tmssapp/tasks.py +++ b/SAS/TMSS/src/tmss/tmssapp/tasks.py @@ -16,7 +16,7 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_ Create a SchedulingUnitBlueprint from the SchedulingUnitDraft :raises Exception if instantiate fails. """ - logger.debug("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name=%s)", scheduling_unit_draft.pk, scheduling_unit_draft.name) + logger.debug("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name='%s')", scheduling_unit_draft.pk, scheduling_unit_draft.name) # TODO: copy/fill-in the properties from the draft to the blueprint scheduling_unit_blueprint = SchedulingUnitBlueprint.objects.create( @@ -27,7 +27,7 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_ draft=scheduling_unit_draft, requirements_template=scheduling_unit_draft.requirements_template) - logger.info("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name=%s) created scheduling_unit_blueprint id=%s name=%s", + logger.info("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name='%s') created scheduling_unit_blueprint id=%s name='%s'", scheduling_unit_draft.pk, scheduling_unit_draft.name, scheduling_unit_blueprint.pk, scheduling_unit_blueprint.name) return scheduling_unit_blueprint -- GitLab