使用 Snowpark Python 进行故障排除

本主题提供了一些有关在使用 Snowpark 库时对问题进行故障排除的准则。

更改日志记录设置

By default, the Snowpark library logs INFO level messages to stdout. If you want to change these logging settings, you can change the level to one of the supported levels (https://docs.python.org/3/library/logging.html#levels).

例如:

>>> import logging
>>> import sys

>>> logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)