diff --git a/library/httpserver/httpserver.go b/library/httpserver/httpserver.go index a7c86255..4381a968 100644 --- a/library/httpserver/httpserver.go +++ b/library/httpserver/httpserver.go @@ -58,7 +58,7 @@ func StartOfflineHttpServer(srv *http.Server, cfg *configcenter.DefaultConfig) { ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) defer cancel() if err := srv.Shutdown(ctx); err != nil { - log.Fatal("Server Shutdown:", err) + logger.Fatal("Server Shutdown:", err) } select {