Adding EEM SDK Debug Logging to CA Workload Control Center (WCC)

Document ID : KB000032815
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What are the steps to add EEM SDK Debug logging to CA Workload Control Center (WCC)?

 

Answer:

You will need to modify the file eiam.log4j.config. This file is located under:

Unix:

$CA_WCC_INSTALL_LOCATION/data/config/application/config/resources/ or /opt/CA/WorkloadCC/data/config/application/config/resources/

Windows:

%CA_WCC_INSTALL_LOCATION%\data\config\application\config\resources or C:\Program Files\CA\Workload Control Center\data\config\application\config\resources

 

In the file, eiam.log4j.config:

Search for the <root> section

Example:

        <root>

 

                <priority value="WARN" />

                <appender-ref ref="SDK" />

                <!-- <appender-ref ref="Console" /> -->

        </root>

 

Change WARN to TRACE.

The log should be in /opt/CA/WorkloadCC/log/eem or C:\Program Files\CA\Workload Control Center\log\eem

 

NOTE:

You will find sections titled:

 <appender name=”SDK”>

 <appender name=”Network”>

 

It is here that you can modify the following values to your liking:

 

 maxFileSize

 maxBackupIndex

Examples:

<param name="maxFileSize" value="10000KB" />

<param name="maxBackupIndex" value="1" />