Log4J warning message on start of the Application server
Hi ,
I am using JSF for my web application. I am also using log4J for logging purpose. As soon as i request my home page i get the following warning message:
log4j:WARN No appenders could be found for logger (com.sun.faces.config.Configur
eListener).
log4j:WARN Please initialize the log4j system properly.
Here is my log4j.properties file which i have put in the applications classpath.
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
I am setting up the console appender to the root logger and the appender is using PatternLayout.
Can any one help please ?

