cancel
Showing results for 
Search instead for 
Did you mean: 

Suppressing info logging when using a maven plugin

SOLVED
Highlighted
Contributor

Suppressing info logging when using a maven plugin

Hello,

 

I am using the ready-api maven plugin to run tests. I have a composite project. I am trying to supress the logging and output file creation because it is filling up the filesystem on our jenkins build slave.

 

<logger name="com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner" level="warn"
additivity="false">
<appender-ref ref="STDOUT"/>
</logger>

 

Here is what I have tried, none of which seems to supress the info logging:

- logback.xml in src/main/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner

- logback.xml in src/test/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner

- soapui-log4j.xml in src/main/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner

- soapui-log4j.xml in src/test/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner

 

I am wondering why the project is not picking up the logging level when I build it.

We do not have the acess to SOAP_UI home directory to install the logging configuration there. So, that is not an option for us.

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor
9 REPLIES 9
Moderator

Re: Suppressing info logging when using a maven plugin

Thanks for reaching out, @lauravachon .

 

Community, does anyone have any suggestions or comments?

Thanks in advance for any assistance!


Olga Terentieva
SmartBear Assistant Community Manager

Moderator

Re: Suppressing info logging when using a maven plugin

Hi @lauravachon ,

 

I have noticed the cool tips you have recently posted in the ReadyApi maven plugin tips topic. Thank you for those links!
Could you please clarify whether they are somehow related to this current question? Do you still need any assistance here?


Olga Terentieva
SmartBear Assistant Community Manager

Community Hero

Re: Suppressing info logging when using a maven plugin

change level value to "error" and see.


Regards,
Rao.
Contributor

Re: Suppressing info logging when using a maven plugin

Yes, I still need assistance here. We cannot modify the files in the soapui install directory, so we are not able to edit the soapui-log4j.xml file that lives there. All of the other plugins that we are using allow the user to specify logging settings in the project. And those logging properties files have precedence over the default plugin values.

 

The other posting was not related. I was just so happy to get those awesome links that I wanted to share.

Moderator

Re: Suppressing info logging when using a maven plugin

Hi @lauravachon.

 

I have noticed in our DB that you created a support ticket regarding this question, right? Our Support team will do their best to assist you.

And, it would be great if you could share your results with the Community when you have any.

Thank you in advance!


Olga Terentieva
SmartBear Assistant Community Manager

Contributor

Re: Suppressing info logging when using a maven plugin

@Olga_T, can this be made a feature that can be toggled within the SoapUI GUI? Being able to turn this logging on/off from within the application would be a nice feature enhancement.

Moderator

Re: Suppressing info logging when using a maven plugin

Hi @JustinM89 ,

 

I have contacted our Support team regarding this, and @NBorovykh said that they don't see any possible workaround here, unfortunately, and that this would be a great feature indeed. So, they suggest that you create a feature request here and share the link to the newly created feature request in the current thread so that other users could upvote it. Thank you in advance!


Olga Terentieva
SmartBear Assistant Community Manager

Contributor
Moderator

Re: Suppressing info logging when using a maven plugin

Thank you, Laura!


Olga Terentieva
SmartBear Assistant Community Manager

New Here?
Join us and watch the welcome video:
Watch the new Interview