ashakirin commented on a change in pull request #681:
URL: https://github.com/apache/cxf/pull/681#discussion_r449716595



##########
File path: 
rt/features/logging/src/main/java/org/apache/cxf/ext/logging/AbstractLoggingInterceptor.java
##########
@@ -102,8 +110,12 @@ public void createExchangeId(Message message) {
         }
     }
 
-    protected String transform(final String originalLogString) {
+    protected String transform(final Message message, final String 
originalLogString) {
         return originalLogString;
     }
 
+    protected String maskSensitiveElements(final Message message, String 
originalLogString) {
+        return (new MaskSensitiveHelper(sensitiveElementNames))

Review comment:
       only the thing that can contradict: I would like to add sensitive http 
headers names as well, if new separate setter for headers names will be 
introduced, instantiation of helper will be weird, WDYT?




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to