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

**URL:** <https://forum.search-guard.com/t/setting-the-logging-level-to-debug-doesnt-work-for-me/551>\
**Category:** Search Guard\
**Created:** [August 4, 2017, 12:07pm UTC](https://forum.search-guard.com/t/setting-the-logging-level-to-debug-doesnt-work-for-me/551 "2017-08-04T12:07:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jong\_Kim](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jong\_Kim](https://forum.search-guard.com/u/Jong_Kim)\
**Post date:** [August 4, 2017, 12:07pm UTC](https://forum.search-guard.com/t/setting-the-logging-level-to-debug-doesnt-work-for-me/551/1 "2017-08-04T12:07:12Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![Urs](https://avatars.discourse-cdn.com/v4/letter/u/958977/32.png) [@Urs](https://forum.search-guard.com/u/Urs)\
**Post date:** [August 4, 2017, 12:18pm UTC](https://forum.search-guard.com/t/setting-the-logging-level-to-debug-doesnt-work-for-me/551/2 "2017-08-04T12:18:32Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![Jong\_Kim](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jong\_Kim](https://forum.search-guard.com/u/Jong_Kim)\
**Post date:** [August 4, 2017, 5:52pm UTC](https://forum.search-guard.com/t/setting-the-logging-level-to-debug-doesnt-work-for-me/551/3 "2017-08-04T17:52:17Z")

</div>

Hi Urs,

Thanks! That fixed it.

Regards,  
/Jong
