Hi
I have implemented log4j for a Session Bean deployed in weblogic7.
At the run time when the logger methods are invoked i get the following error:
log4j:ERROR No appenders could be found for category (com.xyz.log.UserLogger).
log4j:ERROR Please initialize the log4j system properly.
It is evident from the error message that it is not finding the appender for the category com.xyz.log.UserLogger.
What I have done is created the log4j.properties as below and have put in the weblogic classpath
log4j.rootCategory=, A1
log4j.category.com.xyz.log.UserLogger=DEBUG, dest1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.SimpleLayout
Any suggestions/ corrections are welcome
regards,
CM
