The %{error.taskindex}, The position of the task in the process is only available if there is an error. It would be nice to be able to access this value and other error only variables even when there isn’t an error.
- %{error.tasktype} - The type of task that triggered the error
- %{error.taskname} - The name of the task that triggered the error
- %{error.taskindex} - The position of the task in the process
To reduce logging it would also be nice to set minimal logging on a process, but have a Level 5 for scripts that would overide the setting and log even when the process is set to not log on success.
This would be helpful for process management and tracking purposes.