External Log files from Ant -


i have configured log4j in project , invoked ant task.

i want ant logs project logs written single file along timestamps.

could let me know how take care of in ant?

you can run ant in such way it's logging via log4j, there's example in ant listeners & loggers page:

ant -listener org.apache.tools.ant.listener.log4jlistener 

but see ant documentation proper details, how ensure log4j.properties etc. found.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -