Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edits/style, syntax
Scripting_function


Panel
titleDescription

Sets the logging level on the given logger. This can be a logger you create, or a logger already defined in the system.

Client permissions restrictions


Panel
titleSyntax

system.util.setLoggingLevel(loggerName, loggerLevel)

  • Parameters

String loggerName The unique name of the logger to change the logging level on, for example "Tags.Client".

String loggerLevel The level you want to change to logger to: "trace", "debug", "info", "warn", or "error".

  • Returns

NoneNothing

  • Scope

Gateway, Vision Client, Perspective Session

Panel
titleCode Examples
Code Block
languagepy
titleCode Snippet
system.util.setLoggingLevel("Reporting", "debug") # This wouldsets set the logger called Reporting to the debug level.
system.util.setLoggingLevel("Reporting", "debug")
Panel
titleKeywords

system util setLoggingLevel, util.setLoggingLevel