From 497c44316492e98c8dd2fac3803aed400ced2763 Mon Sep 17 00:00:00 2001 From: zashroof Date: Fri, 1 Nov 2024 10:08:38 -0400 Subject: [PATCH] [Fix] Change Auth method log to debug instead of info Signed-off-by: Ashraf Saleh --- .../com/databricks/sdk/core/DefaultCredentialsProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/DefaultCredentialsProvider.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/DefaultCredentialsProvider.java index f16cded39..8e05b4a45 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/DefaultCredentialsProvider.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/DefaultCredentialsProvider.java @@ -58,12 +58,12 @@ public synchronized HeaderFactory configure(DatabricksConfig config) { if (config.getAuthType() != null && !config.getAuthType().isEmpty() && !provider.authType().equals(config.getAuthType())) { - LOG.info( + LOG.debug( "Ignoring {} auth, because {} is preferred", provider.authType(), config.getAuthType()); continue; } try { - LOG.info("Trying {} auth", provider.authType()); + LOG.debug("Trying {} auth", provider.authType()); HeaderFactory headerFactory = provider.configure(config); if (headerFactory == null) { continue;