Hi I am using log4j in my application deployed in Webshere 5.1. I am getting the following error on systemerr file log4j:WARN No appenders could be found for logger (APP). log4j:WARN Please initialize the log4j system properly. I have configured the log4j by calling PropertyConfigurator.configure(Properties file.) The properties file is created by reading the log4j configuration from database. Following is the log4j configuration used. log4j.rootLogger= DEBUG log4j.loggerFactory = log.OFXLoggerFactory log4j.appender.A1=org.apache.log4j.RollingFileAppender log4j.appender.A1.File = F:\LogFiles\OFX\OfxApp.log log4j.appender.A1.MaxFileSize =5000KB log4j.appender.A1.MaxBackupIndex=4 log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n log4j.loggerFactory=com.msdw.ofx.logging.OFXLoggerFactory log4j.logger.OFX = INFO, A1 log4j.logger.APP = DEBUG, A1 I can see the logger name APP and OFX and they behave as configured,but the error l og4j:WARN No appenders could be found for logger (APP). log4j:WARN Please initialize the log4j system properly is shown anyway. I have checked in code also that the appender is attached to the logger. Thanks, Bitap Raj --------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
