From c8bdf3a109fc22980ff2545576fabe6a1e8c7fc3 Mon Sep 17 00:00:00 2001 From: jasquat <2487833+jasquat@users.noreply.github.com> Date: Mon, 3 Jul 2023 13:02:57 -0400 Subject: [PATCH] print the status of the backgroun processor as well as the instance id (#368) Co-authored-by: jasquat --- .../spiffworkflow_backend/services/process_instance_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py index 12df04e49..af481c4d5 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py @@ -200,7 +200,7 @@ class ProcessInstanceService: ) execution_strategy_name = current_app.config["SPIFFWORKFLOW_BACKEND_ENGINE_STEP_DEFAULT_STRATEGY_BACKGROUND"] for process_instance in records: - current_app.logger.info(f"Processing process_instance {process_instance.id}") + current_app.logger.info(f"Processor {status_value}: Processing process_instance {process_instance.id}") try: cls.run_process_instance_with_processor( process_instance, status_value=status_value, execution_strategy_name=execution_strategy_name