Skip to content

Commit 9ce2358

Browse files
SNOW-2204396: Logging suppressed
1 parent 4f45233 commit 9ce2358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snowflake/connector/platform_detection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
@contextmanager
3838
def _suppress_platform_detection_logs():
3939
"""
40-
Context manager to completely suppress all logs from underlying HTTP libraries during platform detection.
40+
Context manager to temporarily suppress all logs from underlying HTTP libraries during platform detection.
4141
42-
This prevents any logs (including errors/warnings) from urllib3 and botocore when detecting
42+
This prevents noisy DEBUG logs and stack traces from urllib3 and botocore when detecting
4343
cloud platforms, which can confuse customers (SNOW-2204396). Our own debug logs are not affected.
4444
"""
4545
original_levels = {}

0 commit comments

Comments
 (0)