- Replace f-strings in logging.exception() and logging.warning() calls - Use % formatting for better performance when log level is disabled - Follows Python logging best practices
load_stream