How to set loglevel to debug in Elasticsearch 5.1?

how to set loglevel to debug in Elasticsearch 5.1 cluster? It is very strange I googled and could not find anything for this simple question.

This?

https://www.elastic.co/guide/en/elasticsearch/reference/5.1/misc-cluster.html#cluster-logger

no, this is indice.recovery?
"logger.org.elasticsearch.indices.recovery": "DEBUG"

I mean cluster level loglevel, any settings in elasticsearch.yml?

Sorry. I don't understand. Why what I linked to does not work for you?

_root is to change the level globally:

PUT /_cluster/settings
{
    "transient" : {
        "logger._root" : "DEBUG"
    }
}
4 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.