I'm using org.elasticsearch.client.RestHighLevelClient to run queries.
According to the official documentation, it's possible to log requests in curl format:
I have added the following line to my log4j.properties:
log4j.logger.org.elasticsearch.client = debug
Now I see http requests, but, how can I set curl formatting?