Peter_McCann
17 years agoNew Contributor
How do I change log file location (soapui.log soapui-errors.log)
HI,
I'm using Soapui-2.0 on a RH Linux box, I'm a build engineer calling Ant from Hudson (sort of like cruise control but better imho) . i'm exec-ing a script to call a modified version of testrunner.sh and have hacked testrunner.sh to run with the following flags -a -j -h $host -f $resultsdir $xmlfile. The problem I have is the log files (soapui.log and soapui-errors.log) are being written to the ANT parent directory. I can probably change the location to SOAPUI_HOME by doing a chdir to SOAPUI_HOME in my script, However that would put all the log files from every build there.
I've been reading about soapui-log4j.xml , and soapui.properties but I can't find any examples of either, and have exactly zero experience writing log4j.xml files.
I would like to have a way to write the log files to a results directory that gets clobbered before every run.
Thanks in advance for any help
Pete
I'm using Soapui-2.0 on a RH Linux box, I'm a build engineer calling Ant from Hudson (sort of like cruise control but better imho) . i'm exec-ing a script to call a modified version of testrunner.sh and have hacked testrunner.sh to run with the following flags -a -j -h $host -f $resultsdir $xmlfile. The problem I have is the log files (soapui.log and soapui-errors.log) are being written to the ANT parent directory. I can probably change the location to SOAPUI_HOME by doing a chdir to SOAPUI_HOME in my script, However that would put all the log files from every build there.
I've been reading about soapui-log4j.xml , and soapui.properties but I can't find any examples of either, and have exactly zero experience writing log4j.xml files.
I would like to have a way to write the log files to a results directory that gets clobbered before every run.
Thanks in advance for any help
Pete