webMethods Deployer 10.3 | webMethods Deployer Documentation 10.3 | Automating Project Creation | Error Handling and Logging
 
Error Handling and Logging
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.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.