From e85c5679e99b50618a283ba8d56c2958fbfb8db4 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 27 Apr 2022 03:33:01 +0300 Subject: [PATCH] Update S3Common.cpp --- src/IO/S3Common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IO/S3Common.cpp b/src/IO/S3Common.cpp index 8248175af03..9b27d9bf595 100644 --- a/src/IO/S3Common.cpp +++ b/src/IO/S3Common.cpp @@ -285,7 +285,7 @@ protected: auto credentials_view = credentials_doc.View(); access_key = credentials_view.GetString("AccessKeyId"); - LOG_TRACE(logger, "Successfully pulled credentials from EC2MetadataService with access key {}.", access_key); + LOG_TRACE(logger, "Successfully pulled credentials from EC2MetadataService with access key."); secret_key = credentials_view.GetString("SecretAccessKey"); token = credentials_view.GetString("Token"); @@ -483,7 +483,7 @@ protected: Aws::Internal::STSCredentialsClient::STSAssumeRoleWithWebIdentityRequest request{session_name, role_arn, token}; auto result = client->GetAssumeRoleWithWebIdentityCredentials(request); - LOG_TRACE(logger, "Successfully retrieved credentials.", result.creds.GetAWSAccessKeyId()); + LOG_TRACE(logger, "Successfully retrieved credentials."); credentials = result.creds; }