Skip to content

Commit 66c99bc

Browse files
SNOW-1650640 changed OCSP fail-open warning message loglevel to warning (from error) (snowflakedb#2045)
1 parent 075b96a commit 66c99bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DESCRIPTION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
1111
- v3.12.2 (TBD)
1212
- Improved implementation of `snowflake.connector.util_text.random_string` to avoid collisions.
1313
- If the account specifies a region, and that region is in China, the TLD is now inferred to be snowflakecomputing.cn.
14+
- Changed loglevel to WARNING for OCSP fail-open warning messages (was: ERROR)
1415

1516
- v3.12.1(August 20,2024)
1617
- Fixed a bug that logged the session token when renewing a session.

src/snowflake/connector/ocsp_snowflake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ def print_fail_open_warning(ocsp_log) -> None:
10761076
"responder. Details:"
10771077
)
10781078
ocsp_warning = f"{static_warning} \n {ocsp_log}"
1079-
logger.error(ocsp_warning)
1079+
logger.warning(ocsp_warning)
10801080

10811081
def validate_by_direct_connection(
10821082
self,

0 commit comments

Comments
 (0)