Hi There,
I am trying to get my web application deployed on Websphere 6.1 to display debug level logs.
Originally I was using log4j, but have changed all loggers to use commons logging since it seems this is supported by Websphere.
I have set the log level under Logging and Tracing > server1 > Change Log Detail Levels to:
*=info: com.myapplication.*=all
Unfortunately this only seems to display info level logs from my application in the SystemOut.log
The following shows up in the logs:
if (log.isInfoEnabled())
log.info("End( messages[" + listMessages.size() + "] )");
But the following (from the same method) does not:
if (log.isDebugEnabled())
log.debug("Start()");
I have not added any log config files to my war as I read that this was set up by Websphere.
Does anyone know how to get logging working correctly in Websphere?