Skip to content

SNOW-2126519: Diagnostic does not report for every URL type #2342

@sfc-gh-cconner

Description

@sfc-gh-cconner

Python version

3.12

Operating system and processor architecture

N/A

Installed packages

N/A

What did you do?

Ran the diagnostic report and the report only covers:

SNOWFLAKE_URL
STAGE
OCSP_RESPONDER
OUT_OF_BAND_TELEMETRY

We now have the following:

CLIENT_FAILOVER
DUO_SECURITY
OCSP_CACHE
OCSP_RESPONDER
OUT_OF_BAND_TELEMETRY
SNOWFLAKE_DEPLOYMENT
SNOWFLAKE_DEPLOYMENT_REGIONLESS
SNOWSIGHT_CLIENT_FAILOVER
SNOWSIGHT_DEPLOYMENT
SNOWSQL_REPO
SPCS_INGRESS_REGIONLESS
SPCS_REGISTRY_REGIONLESS
STAGE

What did you expect to see?

We need to update the diagnostic report to cover all URL types, we can ignore SNOWSQL_REPO probably.

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)

Metadata

Metadata

Labels

bugstatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions