mlenosgrande
14 years agoContributor
Log4j configurability not taking in count
According to the documentation, we can use our own log4j.
I have try to customize it to run the tests more fast by:
-disabling info logs
-making the log asynchronous (org.apache.log4j.AsyncAppender)
Unfortunately in the code, some logs dont behave according to the changed configuration . The most verbose one is this line :
And according to your code line 543, we have those lines :
As you can see ther is no condition test if log.isInfoEnabled().
Im trying to disable without success :
I'm using sopaui 3.5.1 but This code pointed is in the trunk too.
I know i could rebuild it but could you please try to investigate that ?
Thanks in advance for your support.
Omar
I have try to customize it to run the tests more fast by:
-disabling info logs
-making the log asynchronous (org.apache.log4j.AsyncAppender)
Unfortunately in the code, some logs dont behave according to the changed configuration . The most verbose one is this line :
10:20:45,332 INFO [SoapUITestCaseRunner] running step [GetDirectVariablesChildren -idvar2]
10:20:45,348 INFO [SoapUITestCaseRunner] Assertion [SOAP Response] has status VALID
10:20:45,348 INFO [SoapUITestCaseRunner] Assertion [Schema Compliance] has status VALID
And according to your code line 543, we have those lines :
log.info( "Assertion [" + assertion.getName() + "] has status " + assertion.getStatus());
if( assertion.getStatus() == AssertionStatus.FAILED )
{
log.info( "ASSERTION FAILED -> " + assertion.getErrors());
As you can see ther is no condition test if log.isInfoEnabled().

Im trying to disable without success :
<logger name="com.eviware.soapui.tools.SoapUITestCaseRunner">
<level value="OFF" />
<appender-ref ref="ASYNC"/>
</logger>
I'm using sopaui 3.5.1 but This code pointed is in the trunk too.
I know i could rebuild it but could you please try to investigate that ?
Thanks in advance for your support.
Omar