> Hello Paul.
>
> Now I have configured log4j-1.2.13.jar. Below is my log4j.properties
file
> content.
>
> log4j.rootLogger=DEBUG, R
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.File=usha.log
> log4j.appender.R.MaxFileSize=10MB
> log4j.appender.R.MaxBackupIndex=10
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=[%d{MM/dd/yy HH:mm:ss}]
source=%c
> thread=[%t] %m%n
>
> I get log file names usha.log created m But it doesnt has any struts
> related logging after I perform the action. Just the below content is
> logged.
>
> [05/30/14 09:14:21]
> source=com.ibm.bcg.consoleUI.action.partners.PartnerCreateAction
> thread=[WebContainer : 3] Logging initialized.
> [05/30/14 09:14:21]
> source=com.ibm.bcg.consoleUI.action.partners.PartnerCreateAction
> thread=[WebContainer : 3] Log4jProperties: C:\Program
> Files\ibm\bcghub-distrib\wasND\Profiles\bcgprofile\installedApps
> \wpgCell\BCGConsole.ear\console.war\WEB-INF\lib\log4j.properties
>
> Which are logged by my action class.
>
> Could you please help if I am missing something.
>
> Thanks
> Usha
>
>
You need a line like this:
log4j.logger.org.apache.struts=DEBUG
Regards,
Christoph
This Email was scanned by Sophos Anti Virus