How to enable DEBUG logging on Jetty running on Enterprise Manager

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

Introduction: 

CA Technologies Support may ask the case owner to collect Jetty DEBUG log for Enterprise Manager.

This can be done through the following steps:

 

Instructions: 

 

Please turn on jetty DEBUG log by changing/adding the following lines in EM properties file - IntroscopeEnterpriseManager.properties :

 

-------------

log4j.appender.mortbaylogfile.File=logs/EMmortbay.log

log4j.appender.mortbaylogfile=com.wily.org.apache.log4j.RollingFileAppender

log4j.appender.mortbaylogfile.layout=com.wily.org.apache.log4j.PatternLayout

log4j.appender.mortbaylogfile.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss.SSS a z} [%-3p] [%t] [%c] %m%n

log4j.appender.mortbaylogfile.MaxBackupIndex=4

log4j.appender.mortbaylogfile.MaxFileSize=200MB

 

log4j.logger.org.mortbay=DEBUG, mortbaylogfile

#log4j.logger.org.mortbay=ERROR

-------------

 

This will create a new EMmortbay.log in logs directory.