From a5803255acc13079801706218975a7d826ab6796 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Fri, 13 Jul 2018 10:54:55 -0400 Subject: [PATCH] add missing job lifecycle log for schedule spawns --- awx/main/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 5416ed5262..01540c223f 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -446,6 +446,8 @@ def awx_periodic_scheduler(self): try: job_kwargs = schedule.get_job_kwargs() new_unified_job = schedule.unified_job_template.create_unified_job(**job_kwargs) + logger.info(six.text_type('Spawned {} from schedule {}-{}.').format( + new_unified_job.log_format, schedule.name, schedule.pk)) if invalid_license: new_unified_job.status = 'failed'