SWS-400 - Respect parent isLogEnabled() in SoapEnvelopeLoggingInterceptor

This commit is contained in:
Andrei Amariei
2016-06-02 11:49:31 +02:00
committed by Greg Turnquist
parent 59e3ff1f6b
commit 0fc3119c03

View File

@@ -47,7 +47,7 @@ public class SoapEnvelopeLoggingInterceptor extends AbstractLoggingInterceptor i
@Override
public boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception {
if (logFault && logger.isDebugEnabled()) {
if (logFault && isLogEnabled()) {
logMessageSource("Fault: ", getSource(messageContext.getResponse()));
}
return true;