Log4J is NOT getting recognized in ANT Scripts | Selenium Forum
M
Posted on 07/09/2015
Hi Ashish / All,

i have log4j properties,i am runnning my project in two different modes one is thru ecllipse and other is thru ANT..

When i ran very first time, thru ecllipse it did not recognized the log4j.properties files, even thought i have put that file under /scr files... After some RND i added the class environment varibles (folder path of src) and run it recognized and ran it successfully... But i am still in dilema is this how it detects ?

Secondly when i try to run thrur ANT script, it still NOT recognized the log4jproperties.... getting that same warning message

log4j:WARN No appennders could be found......

Just wondering how to include that /scr folder in the build.xml file ?

Thanks

Regards
J

M
Replied on 07/09/2015

http://stackoverflow.com/questions/12532339/no-appenders-could-be-found-for-loggerlog4j