15 years ago
How can I change the log folder?
Hi,
I have Java Unit test class that uses SoapUITestCaseRunner to load up an soapUI project file and run the test suite.
The problem is it emits all the log files like soapui-errors.og, soapui.log and global-groovy.log into the root directory.
I would like to direct them into a different path programmatically ( I don't wont to temper with soapui-log4j.xml) as I think it should handle it as a property setting. I don't know what property to set and how?
I have tried:
but that changed nothing.
I appreciate any guidance.
Thanks
I have Java Unit test class that uses SoapUITestCaseRunner to load up an soapUI project file and run the test suite.
The problem is it emits all the log files like soapui-errors.og, soapui.log and global-groovy.log into the root directory.
I would like to direct them into a different path programmatically ( I don't wont to temper with soapui-log4j.xml) as I think it should handle it as a property setting. I don't know what property to set and how?
I have tried:
String[] props = new String[1];
props[0] = "soapui_log_dir=target";
runner.setProjectProperties(props);
but that changed nothing.
I appreciate any guidance.
Thanks
