From 60475de2044250d8d9f3d787bdb04ef8d33575c0 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 24 Sep 2021 12:18:17 -0700 Subject: [PATCH] xds: Log about fallback credentials, not supplier The sslContextProviderSupplier is used by the xds creds themselves when the control plane has security configured. But the fallback credentials don't use such a supplier and may not even be using TLS. Language tweak following #8554. --- .../java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java b/xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java index fefc9d406b..a032737e64 100644 --- a/xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java +++ b/xds/src/main/java/io/grpc/xds/internal/sds/SdsProtocolNegotiators.java @@ -288,8 +288,7 @@ public final class SdsProtocolNegotiators { ctx.fireExceptionCaught(new CertStoreException("No certificate source found!")); return; } - logger.log(Level.FINE, "Using fallback sslContextProviderSupplier for connection " - + "from {0} to {1}", + logger.log(Level.FINE, "Using fallback credentials for connection from {0} to {1}", new Object[]{ctx.channel().remoteAddress(), ctx.channel().localAddress()}); ctx.pipeline() .replace(