Ask a Question

Suppressing info logging when using a maven plugin

SOLVED
lauravachon
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.

9 REPLIES 9
Olga_T
SmartBear Alumni (Retired)

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

Olga_T
SmartBear Alumni (Retired)

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

nmrao
Champion Level 3

change level value to "error" and see.


Regards,
Rao.

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.

Olga_T
SmartBear Alumni (Retired)

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

@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.

Olga_T
SmartBear Alumni (Retired)

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

Olga_T
SmartBear Alumni (Retired)

Thank you, Laura!


Olga Terentieva
SmartBear Assistant Community Manager

cancel
Showing results for 
Search instead for 
Did you mean: