Log4j Implementation | Selenium Forum
M
Posted on 30/10/2015
Hi, I am Arun. I am currently going through the video module-7 and trying out the examples. I am not able to try the example of log4j mentioned in the video.

I copied the "Log4j.properties" file that Ashish had used and added it in my project. Also created a class file for testing this Log4j.properties but I am encountering an error as below in eclipse.

log4j:WARN No appenders could be found for logger (devpinoyLogger).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.[/color]

I dont understand this line in the Log4j.properties file stating "log4j.logger.devpinoyLogger=DEBUG, dest1". What is "devpinoyLogger"? Am I getting this above error due to this "devpinoyLogger" in-built class?

Can someone please explain why I am getting this error please?

Regards,
Arun

M
Replied on 30/10/2015

about the errors http://stackoverflow.com/questions/4570072/how-to-configure-log4j-properties-for-springjunit4classrunner


M
Replied on 26/01/2016

Thanks. That helped Responsive image