You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2017/11/21 16:04:50 UTC
[cxf] branch master updated: [CXF-7518] Removing the interceptor
which logs in message the 2nd time
This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new c64770f [CXF-7518] Removing the interceptor which logs in message the 2nd time
c64770f is described below
commit c64770f866e623734ac5908ea6da613aac9413dd
Author: Sergey Beryozkin <sb...@gmail.com>
AuthorDate: Tue Nov 21 16:04:35 2017 +0000
[CXF-7518] Removing the interceptor which logs in message the 2nd time
---
.../org/apache/cxf/ext/logging/LoggingInInterceptor.java | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingInInterceptor.java b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingInInterceptor.java
index 7f65790..8ba700e 100644
--- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingInInterceptor.java
+++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingInInterceptor.java
@@ -35,7 +35,6 @@ import org.apache.cxf.interceptor.Fault;
import org.apache.cxf.io.CachedOutputStream;
import org.apache.cxf.io.CachedWriter;
import org.apache.cxf.message.Message;
-import org.apache.cxf.phase.AbstractPhaseInterceptor;
import org.apache.cxf.phase.Phase;
import org.apache.cxf.phase.PhaseInterceptor;
@@ -44,19 +43,6 @@ import org.apache.cxf.phase.PhaseInterceptor;
*/
@NoJSR250Annotations
public class LoggingInInterceptor extends AbstractLoggingInterceptor {
- class LoggingInFaultInterceptor extends AbstractPhaseInterceptor<Message> {
- LoggingInFaultInterceptor() {
- super(Phase.RECEIVE);
- }
- @Override
- public void handleMessage(Message message) throws Fault {
- }
- @Override
- public void handleFault(Message message) throws Fault {
- LoggingInInterceptor.this.handleMessage(message);
- }
- }
-
public LoggingInInterceptor() {
this(new Slf4jVerboseEventSender());
@@ -74,7 +60,6 @@ public class LoggingInInterceptor extends AbstractLoggingInterceptor {
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors() {
Collection<PhaseInterceptor<? extends Message>> ret = new ArrayList<>();
ret.add(new WireTapIn(limit, threshold));
- ret.add(new LoggingInFaultInterceptor());
return ret;
}
--
To stop receiving notification emails like this one, please contact
['"commits@cxf.apache.org" <co...@cxf.apache.org>'].