Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 3442 invoked from network); 8 Aug 2008 19:17:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2008 19:17:02 -0000 Received: (qmail 94672 invoked by uid 500); 8 Aug 2008 19:17:00 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 94639 invoked by uid 500); 8 Aug 2008 19:17:00 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 94623 invoked by uid 99); 8 Aug 2008 19:17:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 12:16:59 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of skulkarn@jcpenney.com designates 146.235.139.15 as permitted sender) Received: from [146.235.139.15] (HELO woodstock.jcpenney.com) (146.235.139.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 19:16:04 +0000 Received: from EXCHVS02.corp.jcp.com ([10.32.235.84]) by woodstock.jcpenney.com (8.13.8/8.13.4) with ESMTP id m78JFTIa003266 for ; Fri, 8 Aug 2008 15:16:28 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C8F98B.1CA97B08" Subject: Custom logging Date: Fri, 8 Aug 2008 14:15:25 -0500 Message-ID: <9CCDE77B4F499949837B73CDEA3905A40F2F91C4@EXCHVS02.corp.jcp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Custom logging thread-index: Acj5ixy1Z1YACaD3Rte8r7HbOW3zLQ== From: "Santosh Kulkarni" To: X-Disclaimer: Outbound Correspondence Content-Transfer-Encoding: 7bit X-VirusScan: JCP virus scan detected no virus X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8F98B.1CA97B08 Content-Type: multipart/alternative; boundary="----------=_1218222988-26253-130" Content-Transfer-Encoding: binary This is a multi-part message in MIME format... ------------=_1218222988-26253-130 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable What would be the best way to custom log the message? Let me elaborate. I want to mask out some sensitive information before the logging interceptor logs it. =20 =20 =20 I have looked at the org.apache.cxf.interceptor.LogginginInterceptor. I could take this as an example and code and configure this interceptor in the appropriate phase (RECEIVE?). I just wanted to ask around before I embark on such a task. =20 Thanks Santosh ------------=_1218222988-26253-130 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

What would be the best way to custom log the message?

Let me elaborate. I want to mask out some sensitive information before the logging interceptor logs it.

 

 

 

I have looked at the org.apache.cxf.interceptor.LogginginInterceptor.

I could take this as an example and code and configure this interceptor in the appropriate phase (RECEIVE?). I just want= ed to ask around before I embark on such a task.

 

Thanks

Santosh

------------=_1218222988-26253-130-- ------_=_NextPart_001_01C8F98B.1CA97B08 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: Signature The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. ------_=_NextPart_001_01C8F98B.1CA97B08--