[
https://issues.apache.org/jira/browse/CXF-7920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710042#comment-16710042
]
Colm O hEigeartaigh commented on CXF-7920:
------------------------------------------
Would you be willing to submit a pull request for this?
> Option to customize BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper
> -----------------------------------------------------------------------
>
> Key: CXF-7920
> URL: https://issues.apache.org/jira/browse/CXF-7920
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.2.7
> Reporter: Vjacheslav Borisov
> Priority: Minor
>
> DefaultLogEventMapper contains hard coded binary type
> {code:java}
> // code placeholder
> static {
> BINARY_CONTENT_MEDIA_TYPES = new HashSet<>();
> BINARY_CONTENT_MEDIA_TYPES.add("application/octet-stream");
> BINARY_CONTENT_MEDIA_TYPES.add("application/pdf");
> BINARY_CONTENT_MEDIA_TYPES.add("image/png");
> BINARY_CONTENT_MEDIA_TYPES.add("image/jpeg");
> BINARY_CONTENT_MEDIA_TYPES.add("image/gif");
> }
> {code}
> And all other binary types like
> application/vnd.oasis.opendocument.spreadsheet are logged.
> There should be option to customize this list
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)