Re: log4j No appenders could be found for logger. Please initialize the log4j system properly.
Tuesday, July 1, 2008 12:24 PM
I guess you are trying to run a console application like Junit or may be something similar, and trying to debug using org.apache.log4j.Logger
Here the problem is, the application cannot find the log4j specific configuration files, so doesnt know which appender to use.
So if you want to get rid of this message and use a basic appender, in the initialization part of your code, add the following: