Hi
I've added application/pdf to the default list.
The new logging interceptors do not allow the customization, Christian,
if you can get few mins, have a look please :-). Adding the property to
the abstract logger makes sense IMHO...
Cheers, Sergey
On 26/12/17 07:48, Vjacheslav V. Borisov wrote:
Hi!
How to customize BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper?
E.g. add application/pdf
public class DefaultLogEventMapper {
private static final Set<String> BINARY_CONTENT_MEDIA_TYPES;
static {
BINARY_CONTENT_MEDIA_TYPES = new HashSet<String>();
BINARY_CONTENT_MEDIA_TYPES.add("application/octet-stream");
BINARY_CONTENT_MEDIA_TYPES.add("image/png");
BINARY_CONTENT_MEDIA_TYPES.add("image/jpeg");
BINARY_CONTENT_MEDIA_TYPES.add("image/gif");
}