log4j

Answered

May be i did something wrong in downloading or adding jarsĀ  to buildpath
the error shows like this

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.

how to solve the above problem

Doctor Asked on September 18, 2014 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)
    Best answer

    Hi Anu,

    Try this as your first statement before using loggers
    BasicConfigurator.configure();

    Thanks
    Virender

    Professor Answered on September 18, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.