Lucene logging in ElasticSearch logs

I am on Elasticsearch 7.6.1 and to debug some issues, want to enable lucene logging in ES logs. Can anyone help with how can enable that?

I think you can use this: https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html#configuring-logging-levels

And activate debug for org.apache.lucene packages.

Ah yes, I saw that but enabled it like following since Engine class path is appended -

curl -X PUT "localhost:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d'
{
  "persistent": {
    "logger.org.elasticsearch.index.engine.IW": "trace"
  }
}
'

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