WebClient logging without deprecated method tcpClient.bootstrap()

If you need CustomLogger for request/response (as per comment above) then you can do the following:

CustomLogger customLogger = new CustomLogger(HttpClient.class);         
HttpClient httpClient = HttpClient
                .doOnRequest((request, connection) -> {

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top