Issue
Could you tell me how to set up explicitly logging level in Elasticsearch as INFO?
I would like to do that in the file: elasticsearch.yaml
Solution
There are three ways to do it:
A. By updating the cluster settings dynamically (doesn't require any restart):
PUT /_cluster/settings
{
"transient": {
"logger.org.elasticsearch.transport": "TRACE"
}
}
B. By setting the log level directly in elasticsearch.yml
(requires restart):
logger.org.elasticsearch.transport: TRACE
C. By setting the log level directly in log4j2.properties
(requires restart):
logger.transport.level = trace
Answered By - Val Answer Checked By - Candace Johnson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.