General and logging preferences
General plugin preferences control the level of detail added to the PReS Workflow log file. Since log files cover 24 hours of operation, choosing to log every task performed by PReS Workflow may result in the creation of excessively large files.
Changing the plugin preferences also affects the logs displayed in the PReS Workflow Service Console.
Each individual process has the option to produce 'minimal logs' (see Process properties). This means the process will only log its Start time and the End time (along with the Time Spent), if no error was encountered during execution of the process.
- Log level group
- Startup and shutdown: Select to only track when the PReS Workflow service is started and stopped.
- Task failure: Select to only track when tasks in the processes running in a PReS Workflow configuration fail.
- Task success and failure with details: Select to track when the tasks in processes running in PReS Workflow succeed and fail, with details. Details can include why tasks fail and how successful tasks are executed.
- All events with details: Select to log everything that happens in PReS Workflow. This includes when it starts and stops, the success and failure of tasks, and details on the success and failure of tasks.
- Add time stamp to all processes events: Adds a time stamp to each log entry for a process event.
- Delete log files after: Select how many days log files are kept before being deleted.
- Maximum numbers of replicated processes: Set the maximum number of times a process may be replicated.
The index number of a task is logged immediately after the time stamp, between square brackets. For example:
INFO : 00:00:21.534 [0015] Plugin Create File completed successfully - 12:00:21 AM (elapsed time: 00:00:00:001)
The index number corresponds to the row number of the task in the Process Area (see The Process area).
INFO : 00:00:21.534 [0015] Plugin Create File completed successfully - 12:00:21 AM (elapsed time: 00:00:00:001)
The index number corresponds to the row number of the task in the Process Area (see The Process area).
The proper RegEx to parse a log entry should be:
^([A-Z]{4}[A-Z\s]):\s(\d\d:\d\d:\d\d\.\d{3})\s\[(\d{4})\]\s(.+)