cancel
Showing results for 
Search instead for 
Did you mean: 

How do you set log level?

SOLVED
rmayer
New 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.

1 ACCEPTED SOLUTION

Accepted Solutions
nmrao
Community Hero

Re: How do you set log level?

5 REPLIES 5
nmrao
Community Hero

Re: How do you set log level?

Have you tried changing the SOAPUI_HOME/bin/soapui-log4j.xml?



Regards,
Rao.
rmayer
New Contributor

Re: How do you set log level?

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?

nmrao
Community Hero

Re: How do you set log level?

rmayer
New Contributor

Re: How do you set log level?

Thanks Rao. Haven't tried it yet but it seems to be exactly what we need.

koen_able
Occasional Contributor

Re: How do you set log level?

Hi,

 

This url isn't working anymore. Could you tell what you are referring to?

Thanks. 

 

 

New Here?
Join us and watch the welcome video:
Top Kudoed Authors