Getting ‘No appenders found ‘ error while using log4j with TestNG
I am using TestNg framework and log4j in my project. Earlier the same code was running without any appenders but recently I had my PC formatted and after that it started giving this error. What I should I change to make it work?
Please go to the ToolsQA website for this.
First i did not see log.xml file in your project explorer.
Second, please make sure you have log4j jars associated in your project build path
Thrid, I did not see the code to initialize log4j in your test case