From b1d1827c470344fee57bc6d9e903b7cba4ca35bd Mon Sep 17 00:00:00 2001 From: Igor Drozdov Date: Tue, 23 Nov 2021 15:58:17 +0300 Subject: Remove SSL_CERT_DIR logging This log entry doesn't respect log level, because the log level is configured after this logging happens --- internal/config/config.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index cbaf6d1..5185736 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -14,8 +14,6 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/client" "gitlab.com/gitlab-org/gitlab-shell/internal/metrics" - - "gitlab.com/gitlab-org/labkit/log" ) const ( @@ -95,8 +93,6 @@ func (sc *ServerConfig) GracePeriod() time.Duration { func (c *Config) ApplyGlobalState() { if c.SslCertDir != "" { - log.WithFields(log.Fields{"ssl_cert_dir": c.SslCertDir}).Info("SSL_CERT_DIR is configured") - os.Setenv("SSL_CERT_DIR", c.SslCertDir) } } -- cgit v1.2.1