Setting the logging level to debug doesn't work for me

I added the following settings in elasticsearch/config/log4j2.properties file as instructed in the document (https://github.com/floragunncom/search-guard-docs/blob/master/tls_troubleshooting.md). However, even after restarting the node, interactions with the node doesn’t produce any debug logging statements from Search Guard. I also tried to set it to trace, but no avail.

What am I doing wrong?

I’m using Elasticsearch 5.4.2 and Search Guard 5.4.2.

Thanks for any tip
/Jong

Hi Jong,

unfortunately we have had a typo at exactly that part of the docs.

Please correct the name of the key

loger.searchguard.level to logger.searchguard.level with double g.

So you have to have logger.searchguard.level = debug in your settings.

We have corrected the docs accordingly, thanks for reporting. And sorry for the inconvenience.

regards, Urs

···

On Friday, August 4, 2017 at 2:07:12 PM UTC+2, Jong Kim wrote:

I added the following settings in elasticsearch/config/log4j2.properties file as instructed in the document (https://github.com/floragunncom/search-guard-docs/blob/master/tls_troubleshooting.md). However, even after restarting the node, interactions with the node doesn’t produce any debug logging statements from Search Guard. I also tried to set it to trace, but no avail.

What am I doing wrong?

I’m using Elasticsearch 5.4.2 and Search Guard 5.4.2.

Thanks for any tip
/Jong

Hi Urs,

Thanks! That fixed it.

Regards,
/Jong