Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E1CB11348 for ; Thu, 25 Sep 2014 10:41:34 +0000 (UTC) Received: (qmail 23263 invoked by uid 500); 25 Sep 2014 10:41:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 23227 invoked by uid 500); 25 Sep 2014 10:41:34 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 23216 invoked by uid 99); 25 Sep 2014 10:41:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 10:41:34 +0000 Date: Thu, 25 Sep 2014 10:41:34 +0000 (UTC) From: "Alexey Markevich (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-4102) Logging interceptors should show the binary content only when requested MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147611#comment-14147611 ] Alexey Markevich commented on CXF-4102: --------------------------------------- CXF 2.7.12 Message Content-Type: multipart/mixed Multipart Content-Type: application/octet-stream binary content still logged > Logging interceptors should show the binary content only when requested > ----------------------------------------------------------------------- > > Key: CXF-4102 > URL: https://issues.apache.org/jira/browse/CXF-4102 > Project: CXF > Issue Type: Improvement > Components: Core > Reporter: Sergey Beryozkin > Assignee: Sergey Beryozkin > Fix For: 2.5.3, 2.6 > > Attachments: cxf4102.diff > > > Logging interceptors show the binary content which makes it difficult to see the other details of the current request or response. For example, the image/* content should be ideally limited to a string such as "--- Binary Content ---" or similar. > It's tricky to do the same for multipart related payloads as some parts may be 'readable' and some not - that can be sorted out at the later time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)