Hi All,
I am trying to implement logger concept in my
java application.
For
testing purpose I am creating a Test.java file .I have added the log4j-1.2.9.jar.
I am not getting any compilation error.
While executing the Test.java I am getting
Exception
log4j:WARN No appenders could be found for logger (Log4jTest.Test).
log4j:WARN Please initialize the log4j system properly.
Please suggest me how to fix this error.
Code
Test.java
log4j.properties
Thanks for your time.
Regards,
Sumanta Panda