How to enable debug in EEM (AutoSys)?
search cancel

How to enable debug in EEM (AutoSys)?

book

Article ID: 197235

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

You may need to increase the logging levels of EEM when troubleshooting it in relation to the AutoSys Application Server issues.

Resolution

Steps to increase EEM Server logging levels

 

1. Backup current <install_path>/EmbeddedEntitlementsManager/config/logger/server.xml as <install_path>/EmbeddedEntitlementsManager/config/logger/server.xml.bkp  


2. Edit the original<install_path>/EmbeddedEntitlementsManager/config/logger/server.xml


3. At the bottom of the file starting approximately on line 118, change

<level value="info"/>

TO

<level value="debug"/>

 

Perform the above change for ALL the following loggers in that file

eiam.server.ipoz
eiam.server
eiam.server.performance

NOTE:  If EEM is connected to an external directory server (Active Directory, LDAP) increase the level for the logger for 'eiam.server.ldap' as well

 

4. Also for each section adjust the value for the maxBackupIndex from 1 to 10,  This creates 10 10MB log files for each of the logger

Example:
Before:

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

After:

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

 

5. Save the file. The tracing will activate automatically. No restart of EEM is necessary. Tracing will start appearing in existing EEM logs,  <install_path>/EmbeddedEntitlementsManager/log folder based logs will now have debugging enabled.

 

6. To turn off debug,  restore the server.xml.bkp file  

Additional Information

NOTE: We recommend only turning this on to reproduce an issue, capture the debug logging and then turning it off again.

To turn off, restore logging levels to "info" and stop/start igatway again.