Skip to content

Commit

Permalink
Changing log level of cert watcher from error to debug (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitali-salvi authored Feb 6, 2025
1 parent c37b9f8 commit da1bea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/server/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewServer(logger *zap.Logger, config *Config) *Server {
// Initialize a new cert watcher with cert/key pair
watcher, err := tlsInternal.NewCertWatcher(config.TLSCertPath, config.TLSKeyPath, config.TLSCAPath, logger)
if err != nil {
s.logger.Error("failed to initialize cert watcher", zap.Error(err))
s.logger.Debug("failed to initialize cert watcher", zap.Error(err))
return s
}

Expand Down Expand Up @@ -86,7 +86,7 @@ func (s *Server) Start(context.Context, component.Host) error {
go func() {
err := s.httpsServer.ListenAndServeTLS("", "")
if err != nil {
s.logger.Error("failed to serve and listen", zap.Error(err))
s.logger.Debug("failed to serve and listen", zap.Error(err))
}
}()
}
Expand Down

0 comments on commit da1bea7

Please sign in to comment.