Jean Pierre Urkens created CXF-9145: ----------------------------------------
Summary: Inconcise handling of logging features logMulitpart and logBinary Key: CXF-9145 URL: https://issues.apache.org/jira/browse/CXF-9145 Project: CXF Issue Type: Improvement Components: logging Affects Versions: 3.5.9 Reporter: Jean Pierre Urkens Attempting to get only the multiparts headers of a binary multipart component logged I found out this was impossible: * logging mulitparts requires logMultipart=true * preventing binary content (e.g. PDF files in attachments) to be logged requries logBinary=false or at least addBinaryContentMediaTypes("application/pdf") However looking at org.apache.cxf.ext.logging.AbstractLoggingInterceptor#stripBinaryParts if the multipart content-type is of a binary type and logbinary=false the entire multipart content will be suppressed (i.e. both the multipart headers and binary content). So it seems impossibel to log the headers only of a binary multipart element. -- This message was sent by Atlassian Jira (v8.20.10#820010)