Skip to content

Commit

Permalink
removed unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilkka Kaakkola committed Jan 23, 2019
1 parent aa984c8 commit 2a180ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ func (s *Server) Start() error {
if err != nil {
return errors.Wrap(err, "cannot start server")
}
log.WithField("listen", fmt.Sprintf("https://%s", s.config.Listen)).Info("server terminated")
} else {
log.WithField("listen", fmt.Sprintf("http://%s", s.config.Listen)).Warn("server starting without TLS")
err = s.web.Start(s.config.Listen)
log.WithField("listen", fmt.Sprintf("http://%s", s.config.Listen)).Info("server terminated")
}
if err != nil {
return errors.Wrap(err, "cannot start server")
Expand Down

0 comments on commit 2a180ec

Please sign in to comment.