I am trying to log motion supervision errors and what path and line they occurred on.
You would probably have to use a error handler in the motion task to put the information into a PERS variable that is shared (has the same name in both tasks) with the logging task.