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

TMSS-60: fixed logging

parent c15615f5
No related branches found
No related tags found
1 merge request!154Resolve TMSS-60 and TMSS-171 and TMSS-198
import logging
logger = logging.getLogger(__name__)
from datetime import datetime, timedelta from datetime import datetime, timedelta
from lofar.common.datetimeutils import parseDatetime from lofar.common.datetimeutils import parseDatetime
...@@ -188,7 +191,7 @@ def connect_observation_subtask_to_preprocessing_subtask(observation_subtask: Su ...@@ -188,7 +191,7 @@ def connect_observation_subtask_to_preprocessing_subtask(observation_subtask: Su
pipeline_subtask.pk, pipeline_subtask.specifications_template.type, pipeline_subtask.pk, pipeline_subtask.specifications_template.type,
SubtaskType.Choices.OBSERVATION.value, SubtaskType.Choices.PIPELINE.value)) SubtaskType.Choices.OBSERVATION.value, SubtaskType.Choices.PIPELINE.value))
logging.info("Connecting subtask %s type=%s to subtask id=%d type=%s" % ( logger.info("Connecting subtask %s type=%s to subtask id=%d type=%s" % (
observation_subtask.pk, observation_subtask.specifications_template.type, observation_subtask.pk, observation_subtask.specifications_template.type,
pipeline_subtask.pk, pipeline_subtask.specifications_template.type)) pipeline_subtask.pk, pipeline_subtask.specifications_template.type))
......
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