From e3e81a071b791774c0ccb66a7cb2d78f86077076 Mon Sep 17 00:00:00 2001 From: Jilks Smith Date: Thu, 1 Aug 2024 11:21:14 +0300 Subject: [PATCH] Remove logging of tls/mtls cert info. --- internal/server/grpc/grpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/server/grpc/grpc.go b/internal/server/grpc/grpc.go index 85c2732f..3872b3b8 100644 --- a/internal/server/grpc/grpc.go +++ b/internal/server/grpc/grpc.go @@ -315,9 +315,9 @@ func (s *Server) setupTLSConfig() (*tls.Config, error) { } switch { case mtlsCA != "": - s.Logger.Info(fmt.Sprintf("%s service gRPC server listening at %s with TLS/mTLS cert %s , key %s and %s", s.Name, s.Address, s.Config.CertFile, s.Config.KeyFile, mtlsCA)) + s.Logger.Info(fmt.Sprintf("%s service gRPC server listening at %s with TLS/mTLS", s.Name, s.Address)) default: - s.Logger.Info(fmt.Sprintf("%s service gRPC server listening at %s with TLS cert %s and key %s", s.Name, s.Address, s.Config.CertFile, s.Config.KeyFile)) + s.Logger.Info(fmt.Sprintf("%s service gRPC server listening at %s with TLS", s.Name, s.Address)) } return tlsConfig, nil