I have massive junit test cases which are run by JunitCore.run()
Now I want to save log for each case to separate files, but my application is using log4j, all log ouput are saved in a single big file.
How can I create individual log for each case? thank you.
I have massive junit test cases which are run by JunitCore.run() Now I want
Share
I belive this might resolve your issues…
Creating Separate Files via Log4j
You can specify various files for different appenders.