diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2021-11-23 15:58:17 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2021-11-23 16:04:01 +0300 |
commit | b1d1827c470344fee57bc6d9e903b7cba4ca35bd (patch) | |
tree | b64887005fbb469f9c407e13778f197319385183 | |
parent | 31901e0d6c2b863ad93199c8a93a7c2ce0923c60 (diff) | |
download | gitlab-shell-b1d1827c470344fee57bc6d9e903b7cba4ca35bd.tar.gz |
Remove SSL_CERT_DIR loggingid-remove-ssl-cert-dir-logging
This log entry doesn't respect log level, because the log level
is configured after this logging happens
-rw-r--r-- | internal/config/config.go | 4 |
1 files changed, 0 insertions, 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) } } |