# Configuring Vision Client Log Levels Before Launch

**URL:** <https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 20, 2025, 3:56pm UTC](https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993 "2025-08-20T15:56:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhasan](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mhasan](https://forum.inductiveautomation.com/u/mhasan)\
**Post date:** [August 20, 2025, 3:56pm UTC](https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993/1 "2025-08-20T15:56:13Z")

</div>

Is it possible to configure log levels for specific loggers before launching an application in the Vision client? I know they can be adjusted from the diagnostics popup after launch, but I’m wondering if there’s a way to set them in advance.

---

<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:** [August 20, 2025, 3:59pm UTC](https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993/2 "2025-08-20T15:59:47Z")

</div>

Do you need it to happen before anything else has happened, or does "before other scripts have run" suffice?

You could drop calls to `system.util.setLoggingLevel` in a client startup script if the latter is sufficient:

> **[system.util.setLoggingLevel | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-util/system-util-setLoggingLevel)**
>
> Sets the logging level on the given logger.

---

<div class="post-metadata">

**Author:** ![mhasan](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mhasan](https://forum.inductiveautomation.com/u/mhasan)\
**Post date:** [August 20, 2025, 4:09pm UTC](https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993/3 "2025-08-20T16:09:40Z")

</div>

I would prefer the former if possible.

I tried putting a `system.util.setLoggingLevel` script in a client startup script but it seems like it cannot find the logger.

This is my script. The logger name I’m using is the same I see in the vision client diagnostic popup  
`system.util.setLoggingLevel("vision.binding.indirect-tag-binding", "debug")`

However I get this error when starting the vision client project:

`ValueError: Unable to change logger level: NameError: The Logger vision.binding.indirect-tag-binding could not be found.`

---

<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:** [August 20, 2025, 4:12pm UTC](https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993/4 "2025-08-20T16:12:37Z")

</div>

Try preceding that line with `system.util.getLogger(...)` to force creation of that logger.

---

<div class="post-metadata">

**Author:** ![mhasan](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mhasan](https://forum.inductiveautomation.com/u/mhasan)\
**Post date:** [August 20, 2025, 4:32pm UTC](https://forum.inductiveautomation.com/t/configuring-vision-client-log-levels-before-launch/109993/5 "2025-08-20T16:32:24Z")

</div>

Oh I see. Adding the `getLogger()` before setting it made it work!
