title: log4j:WARN Please initialize the log4j system properly
body: <p>I am trying to learn selenium.</p>
  
  <p>I get following error message:</p>
  
  <blockquote>
    <p>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
    <a href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" rel="nofollow noreferrer">http://logging.apache.org/log4j/1.2/faq.html#noconfig</a> for more info.</p>
  </blockquote>
  
  <p>So, I have downloaded the file <code>log4j.properties</code> 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:</p>
  
  <p><em>Put a file named log4j.properties in the root of your classpath:</em></p>
  
  <pre><code>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
  </code></pre>
  
  <p><em>Nothing else is needed. Log4j will discover it and configure itself.</em></p>
  
  <p>But what do they mean by "<em>in the root of your classpath</em>"?</p>
  
  <p>I work in Eclipse. So how do I find the root of the classpath in Eclipse?</p>