【发布时间】:2019-01-11 15:03:09
【问题描述】:
我正在使用 org.elasticsearch.client.RestHighLevelClient 来运行查询。
根据官方文档,可以使用 curl 格式记录请求:
我在 log4j.properties 中添加了以下行:
log4j.logger.org.elasticsearch.client = debug
现在我看到了 http 请求,但是,如何设置 curl 格式?
【问题讨论】:
标签: java elasticsearch curl log4j