reta commented on code in PR #3373:
URL: https://github.com/apache/cxf/pull/3373#discussion_r3812738109


##########
rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingInInterceptor.java:
##########
@@ -71,6 +73,9 @@ public LoggingInInterceptor(PrintWriter writer) {
 
     public LoggingInInterceptor(LogEventSender sender) {
         super(Phase.PRE_INVOKE, sender);
+
+        //Make sure that the LIVE_LOGGING_PROP won't be propagated into the 
ResponseContext from IN Messages
+        addResponseContextExcludedInProperty(LIVE_LOGGING_PROP);

Review Comment:
   @vp340 thanks for another alternative, the problem I see with this one is 
two fold: `LoggingXxxInteceptor` has to be aware about the `ClientImpl` 
specifics/internals but this is generic feature that works for client (we have 
many) or/and server (same, many).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to