Log4J | Selenium Forum
P
preetam Posted on 18/10/2019

Logger log = Logger.getLogger("devpinoyLogger"); --> in my main class

Also I have the log4j.properties file in place but it give the error as 

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.


A
Ashish Thakur Replied on 18/10/2019

These are just logs, you can ignore these.


P
preetam Replied on 18/10/2019

But nothing gets generated in the logs as well.

even the log file itself is not generated


A
Ashish Thakur Replied on 21/10/2019

Are you importing all the necessary jar files as shown in the video?

If yes, please use the same version of all the necessary jars as shown in the video.