# Is there the get equivalent of system.util.setLoggingLevel()?

**URL:** <https://forum.inductiveautomation.com/t/is-there-the-get-equivalent-of-system-util-setlogginglevel/75639>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [June 28, 2023, 1:36pm UTC](https://forum.inductiveautomation.com/t/is-there-the-get-equivalent-of-system-util-setlogginglevel/75639 "2023-06-28T13:36:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael.Hodges](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Michael.Hodges](https://forum.inductiveautomation.com/u/Michael.Hodges)\
**Post date:** [June 28, 2023, 1:36pm UTC](https://forum.inductiveautomation.com/t/is-there-the-get-equivalent-of-system-util-setlogginglevel/75639/1 "2023-06-28T13:36:12Z")

</div>

Is there an easy way in scripting or through a tag to get the current logging level of a logger? Ideally there would be a system.util.getLoggingLevel() function, but since that does not seem to exist, is there another way to get it? I have a Vision diagnostic window where I would like the user to be able to change the logging level of a logger, but it would be good to be able to show the user what the current level is.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 28, 2023, 2:09pm UTC](https://forum.inductiveautomation.com/t/is-there-the-get-equivalent-of-system-util-setlogginglevel/75639/2 "2023-06-28T14:09:30Z")

</div>

Not directly, but once you _have_ the logger, you can interrogate its `.is*Enabled()` methods. If you need more functionality, you can retrieve [the SLF4J instance](https://www.slf4j.org/api/org/slf4j/Logger.html) with `someLogger.loggerSLF4J` and interrogate that.
