Deployer 10.7 | Using Project Automator | Error Handling and Logging for Project Automator
 
Error Handling and Logging for Project Automator
Project Automator produces a log file (ProjectAutomatorReport.xml) that is controlled by a log4j property file stored in the Integration Server_directory /instances/instance_name/packages/WmDeployer/bin directory. You can change the properties.
<Report>

<Messages type="info">

<message>message
text
</message>
<message>message
text
</message>
</Messages type="info">

<Messages type="error">

<message category="category" errorCode="code" deploymentSet="set name"
deploymentProject="project
name
">message text</message>

</Messages type="error">

</Report>
Example of an error message:
<message
category="projectError" errorCode="-41" deploymentSet="myDeploymentSet"

deploymentProject="TestProject">Error adding ACLs TestACL1, TestACL2
to
Deployment Set for project TestProject</message>
For error messages, you can write a program to parse the attribute values and take specified actions.