SNOW-1787174: Move "Authentication FAILED" and "Authentication SUCCESS" to Debug logging #1237
Labels
question
Issue is a usage/other question rather than a bug
status-triage_done
Initial triage done, will be further handled by the driver team
wontfix
What is the current behavior?
Currently, the following lines print an
ERROR
log and anINFO
log when authenticating:These lines are noisy and should be moved to Debug logging. The
authenticate()
function already returns an error, which can contain an authentication failure without the need for an error-level log message which can get noisyWhat is the desired behavior?
gosnowflake shouldn't issue a log message on successful or failed authentication at the error or info level. These should be debug level.
How would this improve
gosnowflake
?This would drastically reduce the noise of the library, which is set to
error
with no ability for the client to set this. Especially for services like credential rotators, ensuring that an old credential is no longer valid is a pertinent use case, and log messages can quickly accumulateReferences, Other Background
The text was updated successfully, but these errors were encountered: