We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to easily serialize queries to JSON for logging.
IndexRequest<Movie> indexRequest = new IndexRequest.Builder<Movie>() .index(index) .id("1") .document(movie) .build(); logger.info("JSON: {}", indexRequest.toJson());
Working serialization code here.
From a Slack discussion in https://opensearch.slack.com/archives/C051XNH62KB/p1690396113772759
The text was updated successfully, but these errors were encountered:
Sounds cool. I've seen a few people request this, and it's cleaner than using log4j.
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem?
Add a way to easily serialize queries to JSON for logging.
What solution would you like?
Working serialization code here.
Do you have any additional context?
From a Slack discussion in https://opensearch.slack.com/archives/C051XNH62KB/p1690396113772759
The text was updated successfully, but these errors were encountered: