GitHub
06/09/2025, 10:51 PM<APP_NAME>_LOGLEVEL and LOGLEVEL environment variables across all default logging
Pull request opened by edgarrmondragon
## Summary by Sourcery
Centralize logging configuration by supporting <PLUGIN_NAME>_LOGLEVEL and LOGLEVEL environment variables, refactor console logging setup to accept dynamic log levels, and deprecate the metrics.METRICS_LOG_LEVEL_SETTING in favor of environment-based configuration.
New Features:
• Honor <PLUGIN_NAME>_LOGLEVEL and LOGLEVEL environment variables to configure plugin and metrics logging
Enhancements:
• Introduce DEFAULT_LOG_LEVEL and centralize log level resolution in _plugin_log_level
• Refactor _setup_console_logging to accept a log_level parameter and apply it to the root logger, removing hardcoded metrics logger setup
• Replace manual logger level setting in PluginBase.logger and cli with the new _plugin_log_level mechanism
meltano/sdkGitHub
06/09/2025, 10:51 PM<APP_NAME>LOGLEVEL and LOGLEVEL environment variables across all default logging
Pull request ready for review by edgarrmondragon
meltano/sdkGitHub
06/09/2025, 11:33 PM