# system.util.setLoggingLevel fail in clien scope

**URL:** <https://forum.inductiveautomation.com/t/system-util-setlogginglevel-fail-in-clien-scope/12156>\
**Category:** Ignition\
**Created:** [September 23, 2016, 12:05pm UTC](https://forum.inductiveautomation.com/t/system-util-setlogginglevel-fail-in-clien-scope/12156 "2016-09-23T12:05:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 23, 2016, 12:05pm UTC](https://forum.inductiveautomation.com/t/system-util-setlogginglevel-fail-in-clien-scope/12156/1 "2016-09-23T12:05:56Z")

</div>

We upgrade an existing application from 7.8.4 to 7.9.0-rc1 (use in dev env)

system.util.setLoggingLevel fail in clien scope.

For example, the following script on a buuton :

import system  
system.util.getLogger(“mylog”)  
system.util.setLoggingLevel(“mylog”,“WARN”)

generate the error :

Traceback (most recent call last):  
File “event:actionPerformed”, line 4, in

ValueError: Unable to change logger level: NameError: The Logger mylogcould not be found.  
Ignition v7.9.0-rc1 (b2016091917)  
Java: Oracle Corporation 1.8.0\_102

Moreover User logger doesn’t appear in 7.9rc1 in the client diagnostics windows as in 7.8.4.

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [September 23, 2016, 10:02pm UTC](https://forum.inductiveautomation.com/t/system-util-setlogginglevel-fail-in-clien-scope/12156/2 "2016-09-23T22:02:06Z")

</div>

This looks like some sort of regression bug. We’ll get it fixed before final release. Thanks for the heads up!
