# Logging level persistence

**URL:** <https://forum.inductiveautomation.com/t/logging-level-persistence/42232>\
**Category:** Ignition\
**Created:** [January 14, 2021, 1:29am UTC](https://forum.inductiveautomation.com/t/logging-level-persistence/42232 "2021-01-14T01:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [January 14, 2021, 1:29am UTC](https://forum.inductiveautomation.com/t/logging-level-persistence/42232/1 "2021-01-14T01:29:11Z")

</div>

When you use the Ignition Gateway admin interface to set the logging level for a particular logger (say “Alerting”), it seems like that logging level resets when the Gateway is restarted.

Is there any way to cause the setting to persist across restarts?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 14, 2021, 4:21pm UTC](https://forum.inductiveautomation.com/t/logging-level-persistence/42232/2 "2021-01-14T16:21:11Z")

</div>

If you get the exact name of your logger, you can add it to the `logback.xml` file in the gateway’s `data/` directory - see this commented out line for the pattern to follow:  
` <!--<logger name="example.logger" level="TRACE"/>-->`

---

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [January 14, 2021, 7:25pm UTC](https://forum.inductiveautomation.com/t/logging-level-persistence/42232/3 "2021-01-14T19:25:58Z")

</div>

Ah OK, thank you, I’ll try that.

---

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [January 14, 2021, 8:22pm UTC](https://forum.inductiveautomation.com/t/logging-level-persistence/42232/4 "2021-01-14T20:22:04Z")

</div>

> [@paul-griffith](#):
>

Worked like a charm.
