User Manual

GETTING STARTED


OTHER EDITIONS


LAUNCHERS


MODULES


PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support

ALL USER MANUAL VERSIONS

Ignition 8.1. Offline Version (04/2021)
Ignition 8 Online Version
Ignition 7.9 Online Version
Ignition 7.8 Online Version

Deprecated Pages

SDK Documentation

Employees

Sign In

Skip to end of metadata
Go to start of metadata

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 restrictions.

Syntax

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

Nothing

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
# This sets the logger called Reporting to the debug level.
system.util.setLoggingLevel("Reporting", "debug")
Keywords

system util setLoggingLevel, util.setLoggingLevel