I am trying to learn selenium.
I get following error message:
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
So, I have downloaded the file log4j.properties
and I have googled on it and tried to implement the file in different ways in Eclipse but nothing worked out. I see that someone is saying:
Put a file named log4j.properties in the root of your classpath:
log4j.rootLogger = ALL, Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.conversionPattern=%m%n
Nothing else is needed. Log4j will discover it and configure itself.
But what do they mean by "in the root of your classpath"?
I work in Eclipse. So how do I find the root of the classpath in Eclipse?