vert.x
vert.x copied to clipboard
Add configuration options to set the ByteBufFormat of the request payload logging
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.
https://github.com/eclipse-vertx/vert.x/pull/4083