--- title: "system.util.setLoggingLevel" description: "Sets the logging level on the given logger." --- # system.util.setLoggingLevel > Sets the logging level on the given logger. This function is used in **Python Scripting**. ## Description Sets the logging level on the given logger. This can be a logger you create, or a logger already defined in the system. ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.util.setLoggingLevel(loggerName, loggerLevel)` ### Parameters |Type|Parameter|Description| |--|--|--| |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 Nothing ### Scope All ## Code Examples ```python title="Example #1" system.util.setLoggingLevel("Reporting", "debug") # This would set the logger called Reporting to the debug level. ```