Skip to content

Logging in 6.0 #3156

@Stexxen

Description

@Stexxen

In the 6.0 docs the Rest Client logging is documented here https://docs.spring.io/spring-data/elasticsearch/reference/6.0/elasticsearch/clients.html#elasticsearch.clients.logging

Image

For the Rest 5 Client this doesn't apply, and the elastic.co link now takes you to the legacy rest client

The Dedicated guide for Rest5 logging is now at https://www.elastic.co/docs/reference/elasticsearch/clients/java/transport/rest5-client/usage/logging

Image

However on testing the above I found that the actual class to enable logging is co.elastic.clients.transport.rest5_client.low_level.Request not co.elastic.clients.transport.rest5_client.Request

I have submitted a PR to the client docs to get the class changed, but not sure how best to change the spring docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions