This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git
The following commit(s) were added to refs/heads/main by this push:
new f73c457 aws: downgrade credential provider info! log messages to
debug! (#436)
f73c457 is described below
commit f73c457dd6a25d323bb66878e3c19b521dc11c85
Author: Alfonso Subiotto Marqués <[email protected]>
AuthorDate: Sat Sep 13 13:34:29 2025 +0200
aws: downgrade credential provider info! log messages to debug! (#436)
These log messages are very noisy.
---
src/aws/builder.rs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/aws/builder.rs b/src/aws/builder.rs
index ab50aa5..4dd41ff 100644
--- a/src/aws/builder.rs
+++ b/src/aws/builder.rs
@@ -36,7 +36,7 @@ use serde::{Deserialize, Serialize};
use std::str::FromStr;
use std::sync::Arc;
use std::time::Duration;
-use tracing::info;
+use tracing::debug;
use url::Url;
/// Default metadata endpoint
@@ -943,7 +943,7 @@ impl AmazonS3Builder {
} else if self.access_key_id.is_some() ||
self.secret_access_key.is_some() {
match (self.access_key_id, self.secret_access_key, self.token) {
(Some(key_id), Some(secret_key), token) => {
- info!("Using Static credential provider");
+ debug!("Using Static credential provider");
let credential = AwsCredential {
key_id,
secret_key,
@@ -960,7 +960,7 @@ impl AmazonS3Builder {
std::env::var("AWS_ROLE_ARN"),
) {
// TODO: Replace with `AmazonS3Builder::credentials_from_env`
- info!("Using WebIdentity credential provider");
+ debug!("Using WebIdentity credential provider");
let session_name = std::env::var("AWS_ROLE_SESSION_NAME")
.unwrap_or_else(|_| "WebIdentitySession".to_string());
@@ -983,7 +983,7 @@ impl AmazonS3Builder {
self.retry_config.clone(),
)) as _
} else if let Some(uri) = self.container_credentials_relative_uri {
- info!("Using Task credential provider");
+ debug!("Using Task credential provider");
let options = self.client_options.clone().with_allow_http(true);
@@ -998,7 +998,7 @@ impl AmazonS3Builder {
self.container_credentials_full_uri,
self.container_authorization_token_file,
) {
- info!("Using EKS Pod Identity credential provider");
+ debug!("Using EKS Pod Identity credential provider");
let options = self.client_options.clone().with_allow_http(true);
@@ -1010,7 +1010,7 @@ impl AmazonS3Builder {
cache: Default::default(),
}) as _
} else {
- info!("Using Instance credential provider");
+ debug!("Using Instance credential provider");
let token = InstanceCredentialProvider {
imdsv1_fallback: self.imdsv1_fallback.get()?,