From ef231d5de74e853f039bdda2f728fdf42ccd06d5 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Wed, 16 Feb 2022 11:45:45 +0000 Subject: [PATCH] Fix task name and action in status task logs --- app/celery/reporting_tasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/celery/reporting_tasks.py b/app/celery/reporting_tasks.py index 118bf967d..b847f4e62 100644 --- a/app/celery/reporting_tasks.py +++ b/app/celery/reporting_tasks.py @@ -126,7 +126,7 @@ def create_nightly_notification_status_for_service_and_day(process_day, service_ end = datetime.utcnow() current_app.logger.info( - f'create-nightly-notification-status-for-day task fetch ' + f'create-nightly-notification-status-for-service-and-day task fetch ' f'for {service_id}, {notification_type} for {process_day}: ' f'data fetched in {(end - start).seconds} seconds' ) @@ -141,7 +141,7 @@ def create_nightly_notification_status_for_service_and_day(process_day, service_ end = datetime.utcnow() current_app.logger.info( - f'create-nightly-notification-status-for-day task update ' + f'create-nightly-notification-status-for-service-and-day task update ' f'for {service_id}, {notification_type} for {process_day}: ' - f'data fetched in {(end - start).seconds} seconds' + f'data updated in {(end - start).seconds} seconds' )