Hi all,
    No appenders could be found for logger. This error is show when a web
application is reloaded. It is emitted only for a class.
    I am using Log4J for logging in my web application and it runs on JDK
1.4.1. It have the log4j jar in web-inf\lib and log4j.properties in
web-inf\classes. These two files are nowhere else in Tomcat. I am almost
satisfied with it. Now I have a problem when Logger is used in a class which
extends a java.util.TimerTask(It is only experimental). After reloading the
application the error message is printed only for this particular class.
This is the code I am using to get a Logger.

public class MyTimerTask extends TimerTask{
 private static Logger logger = Logger.getLogger(BasicTimerTask.class);
}
    What is wrong with it ?.

Antony Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to