Log Parser plugin
The Log Parser plugin parses log files on the Deployment Automation agent side and provides an output log file with the results.
Use this plugin to parse log files from products that you are executing through your process steps. For example, to put a conditional step in your process to check for a specific completion code that is stored in a log, you can use Log Parser to do that.
The agent processes logs as follows:
- Logs are uploaded to the server after each step is executed and are stored on the agent side until the whole process is finished.
- The log file for each step has a distinct path to avoid conflicts with any other process running on the agent at the same time.
- Deployment Automation doesn't prevent deletion of the log files of a currently running process. If this situation occurs, the deleted files are skipped during the log file deletion in the end of the process run.
Default built-in properties for Include Files in the Log Parser steps:
The prevStep property enables you to access previous step values without having to explicitly fill in the previous step name. You can provide a property expression in the following format where prevStep resolves to the value of the previous step name during the process run:
All properties of the previous step that are accessible with the full syntax are accessible through the prevStep property.
Caution: If a step has multiple possible previous steps in a conditional process design, the results can be unpredictable.
The logPath property is an output property that resolves to the full path of a given step's log file during the process run. If you specify the property expression in the following format, the values resolve to the value of the previous step name and the log path for that step during the process run:
To use the plugin's steps, open the process designer and navigate to Utilities > LogParser in the Tools pane.
This plugin has the following steps: