rmayer
10 years agoNew Contributor
How do you set log level?
Hi,
How do I set the log level? By default, testrunner.sh is spewing everything out (level INFO) and I want to set it to ERROR.
Thanks.
Hi,
How do I set the log level? By default, testrunner.sh is spewing everything out (level INFO) and I want to set it to ERROR.
Thanks.
Have you tried changing the SOAPUI_HOME/bin/soapui-log4j.xml?
No I hadn't tried that, didn't know about it, is it documented somewhere?
Well I've tried it now and it works thank you. Although, not as I'd really like.
If you don't execute the testrunner from SoapUI's bin folder the config file is ignored. I've gotten around this initially by copying it to the folder from where the testrunner is being executed (determined by our CI server).
Long term though, that's not viable because the location is only temporary, could be pulled from under my feet at any time if the CI configuration changes. Ideally I need to have to soapui-log4j.xml under config control and have a way to tell SoapUI (better said, the testrunner) where it is. Is that possible?