Commit 6380f814401169ca0d7e6cc8eef7ddfbe15a5cbc

Authored by Georg Hopp
1 parent 0284f1f6

logging...

Showing 1 changed file with 1 additions and 1 deletions
@@ -104,7 +104,7 @@ func (server *Server) Start() <-chan struct{} { @@ -104,7 +104,7 @@ func (server *Server) Start() <-chan struct{} {
104 server.log.Info("Listening on %s", server.server.Addr) 104 server.log.Info("Listening on %s", server.server.Addr)
105 if err := server.server.ListenAndServe(); 105 if err := server.server.ListenAndServe();
106 err != http.ErrServerClosed { 106 err != http.ErrServerClosed {
107 - logger.Default.LogError(err, "Stop listening") 107 + server.log.LogError(err, "Stop listening")
108 } 108 }
109 close(done) 109 close(done)
110 }(done) 110 }(done)
Please register or login to post a comment