vert.x icon indicating copy to clipboard operation
vert.x copied to clipboard

Add configuration options to set the ByteBufFormat of the request payload logging

Open argenstijn opened this issue 4 years ago • 1 comments

Describe the feature

In the io.vertx.core.datagram.impl.DatagramSocketImpl the following code is used:

if (options.getLogActivity()) { channel.pipeline().addLast("logging", new LoggingHandler()); }

This means the netty request payload is always using the ByteBufFormat.HEX_DUMP.

Would be very nice if we could set this ByteBufFormat to SIMPLE as well.

Use cases

We don;t want the request payload to include a hex dump

Contribution

I could.

argenstijn avatar Dec 30 '21 10:12 argenstijn

https://github.com/eclipse-vertx/vert.x/pull/4083

Unev avatar Feb 15 '22 20:02 Unev