logging.verbocity in global scope

Foster Hardie
Tera Expert

https://hi.service-now.com/kb_view.do?sysparm_article=KB0714743 lays out 2 system properties to control logging.

The examples are for a scoped application, but there is a line at the bottom of the article which leads me to believe it should work in the global scope as well:

"It should also be noted that if either of these properties is created in the Global Application scope, the property will apply to all messages issued by the system in the Global scope."

So, I created an entry in sys_properties with name "logging.verbosity" and all the properties filled per the article.

I set Value to error, but a test of all 4 log levels results in 3 entries (all but debug).

I've logged out and back in. I cache.did. I've also played around with also setting the suffix to "logging.verbosity", and tried the name as "global.logging.verbosity" but that does not work either.

Anyone get this property to work for global? Is it me? Or do I need to write my own log wrapper to handle a custom verbosity property?

3 REPLIES 3

anavarro
Tera Contributor

Hi Foster,

Have you been able to find a solution for this?

Thanks

I'm sorry; as you may have guessed by now, I did not.

sapan
ServiceNow Employee
ServiceNow Employee

Please note this property will only work as created for specific application scopes. it will not work in global.