Enabling Debug level logging on EEM in iDash

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

With EEM enabled for authentication or authorization or both, the default log level in iDash is INFO and only logs authentication.  If a customer is experiencing issues with authentication or authorization then additional logging may be required to troubleshoot the issue.

Instructions:

Update $IDASH_HOME/etc/log4j.conf on Linux or %IDASH_HOME%/etc/log4j.conf on Windows.

Change the INFO to DEBUG in 

log4j.logger.com.ca.idash.eem and log4j.appender.eem.threshold=DEBUG 

 

log4j.logger.com.ca.idash.eem=INFO,eem 

log4j.appender.eem=org.apache.log4j.RollingFileAppender 

log4j.appender.eem.File=${idash.home}/log/idasheem.log 

log4j.appender.eem.MaxFileSize=10MB 

log4j.appender.eem.MaxBackupIndex=10 

log4j.appender.eem.threshold=INFO 

#log4j.appender.eem.threshold=FATAL 

log4j.appender.eem.layout=org.apache.log4j.PatternLayout 

log4j.appender.eem.layout.ConversionPattern:%d{yy-MM-dd HH.mm.ss} [%5p] %t:%C: %m%n 

 

For getting more eem sdk log , update etc/logger.config file 

 

<root> 

<priority value="DEBUG" /> 

<appender-ref ref="SDK" /> 

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

</root>