GitHub
07/03/2025, 3:25 AMmax_frames parameter to cap traceback depth in console logs and default it to two frames for non-debug levels, while preserving full tracebacks in debug mode.
New Features:
• Add max_frames argument to rich_exception_formatter_factory and console_log_formatter to control the number of displayed traceback frames.
• Automatically set max_frames to 2 for normal log levels and to unlimited in debug within the default logging configuration.
Enhancements:
• Normalize and unify log level casing and level handling in default_config and setup_logging.
Documentation:
• Update logging guide to document the new max_frames option and its default value for console formatting.
Tests:
• Introduce deep_exc_info fixture and corresponding test to assert both limited and unlimited frame display behaviors.
meltano/meltanoGitHub
07/03/2025, 3:25 AMGitHub
07/03/2025, 7:23 PM