Skip to content

rs-debug-py-loglevel

Logging level Python Scripts

Python Script Log Level Configuration

This parameter controls the logging verbosity of python scripts. Higher log levels provide more detailed information for troubleshooting.

Requirements

  • Must be a valid Python logging level - Changes take effect on next configuration run

Usage

Set logging level:

rs-debug-py-loglevel: INFO
Configure logger: import logging logging.basicConfig( level=logging.{{ .ParamExpand "rs-debug-py-log-level" }}, format="%(asctime)s - %(levelname)s - %(message)s", ) logger = logging.getLogger(__name__) Available log levels from least to most verbose: - CRITICAL: Only critical errors - ERROR: Error conditions - WARN: Warning conditions - INFO: General operational information (default) - DEBUG: Detailed information for troubleshooting - NOTSET: All available logging

Objects that Reference rs-debug-py-loglevel

Not used in current content packs

Objects used by rs-debug-py-loglevel

Not used in current content packs