Elasticsearch 로그 출력
Created:
Elasticsearch 로그 출력
테스트 환경
- Springboot 3.2.1
설정
application.yml
logging:
level:
org.elasticsearch.client.RestClient: debug
tracer: trace
로그 확인
[nio-8080-exec-5] org.elasticsearch.client.RestClient : request [HEAD http://localhost:9200/test] returned [HTTP/1.1 200 OK]
[nio-8080-exec-5] tracer : curl -iX HEAD 'http://localhost:9200/test'
# HTTP/1.1 200 OK
# X-elastic-product: Elasticsearch
# content-type: application/vnd.elasticsearch+json;compatible-with=8
# Transfer-Encoding: chunked
#
Comments