print the status of the backgroun processor as well as the instance id (#368)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2023-07-03 13:02:57 -04:00 committed by GitHub
parent e4bf22f5cf
commit c8bdf3a109
1 changed files with 1 additions and 1 deletions

View File

@ -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