-
Notifications
You must be signed in to change notification settings - Fork 526
Closed
Labels
Description
Python version
a test issue
Operating system and processor architecture
a test issue
Installed packages
a test issueWhat did you do?
a test issueWhat did you expect to see?
a test issue
Can you set logging to DEBUG and collect the logs?
import logging
import os
for logger_name in ('snowflake.connector',):
logger = logging.getLogger(logger_name)
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
ch.setFormatter(logging.Formatter('%(asctime)s - %(threadName)s %(filename)s:%(lineno)d - %(funcName)s() - %(levelname)s - %(message)s'))
logger.addHandler(ch)