java - Log4j file appender for each instance of a class -


i have scenario class, has list of test cases. there way can save each test case execution separate file name: testcasename.log?

i have done before java.util.logging adding file handler in code, have no idea how log4j.

you can configuring separate org.apache.log4j.rollingfileappender each test case class. can check link http://logging.apache.org/log4j/2.x/manual/configuration.html configuring this.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -