1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-26 03:20:08 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-10-18 13:11:07 -07:00
parent 2bdbf6918e
commit 0eb7c42aa1

View File

@ -526,10 +526,6 @@ func (e *Echo) config(gs *graceful.Server, s *http.Server, address string) {
if gs == e.gracefulTLS && !e.DisableHTTP2 {
e.TLSConfig.NextProtos = append(e.TLSConfig.NextProtos, "h2")
}
// Global log
slog.SetOutput(e.Logger.Output())
slog.SetPrefix(e.Logger.Prefix() + ": ")
slog.SetFlags(0)
}
// Start starts the HTTP server.