Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Other Open Source Projects
Log 4j config issue
posted 7 years ago
I have a standalone application developed in Eclipse. Application is using log4j. Logs are genrating fine when I am running it from eclipse.
When I try to run the main class through command prompt, I am getting the error "log4j:WARN No appenders could be found for logger"
I have put the log4j.properties file in classpath also.
It is not giving error for the main class file, it gives the name of the class called with in the main class.
for example -
static Logger log = Logger.getLogger(A.class);
B b = new B();
static Logger log = Logger.getLogger(B.class);
log4j:WARN No appenders could be found for logger (B).
log4j:WARN Please initialize the log4j system properly.
Please provide some pointers.
error in log4j.properties
log4j:WARN Please initialize the log4j system properly
How to call login.jsp in eclipse
Locating Log4j.properties in Eclipse 3.2?
Log4J configuration problem