From e7080f7aecfc830a6ecae2ddfcac4ffc3eb47e96 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 4 Aug 2023 10:55:42 +0000 Subject: [PATCH] cleanup: add secret name in the log --- pkg/blob/blob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/blob/blob.go b/pkg/blob/blob.go index 0163bbad8..00dfe4214 100644 --- a/pkg/blob/blob.go +++ b/pkg/blob/blob.go @@ -827,7 +827,7 @@ func (d *Driver) GetInfoFromSecret(ctx context.Context, secretName, secretNamesp spnClientID := strings.TrimSpace(string(secret.Data[storageSPNClientIDField][:])) spnTenantID := strings.TrimSpace(string(secret.Data[storageSPNTenantIDField][:])) - klog.V(4).Infof("got storage account(%s) from secret", accountName) + klog.V(4).Infof("got storage account(%s) from secret(%s) namespace(%s)", accountName, secretName, secretNamespace) return accountName, accountKey, accountSasToken, msiSecret, spnClientSecret, spnClientID, spnTenantID, nil }