Skip to content

v3.11.0

@andsel andsel tagged this 20 Aug 09:34
Implements a functionality to log HTTP traffic. It's enabled by enabling debug log.

As a user that want's to debug his data flow I need to be able to track what's effectively sent to the HTTP input socket.

- Created new WireLogger Netty handler to log information about channel opening/closing and dumping read and write traffic.
- Truncate the dumped content to 4KB or can be customised by setting `logstash.httpinput.wire.dump.size` Java system property.
- Updated client channel initializer to include such handler.
- Updates Java target and source compatibility to use HttpClient provided by JDK standard library since version 11.

Co-authored-by: Cas Donoghue <cas.donoghue@gmail.com>

* Bumped 3.11.0

---------

Co-authored-by: Cas Donoghue <cas.donoghue@gmail.com>
Assets 2
Loading