From d25a7a13de839dbbf56b64079af582486bcc678b Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Mon, 3 Jun 2024 10:33:27 +0800 Subject: [PATCH] log --- library/httpserver/httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/httpserver/httpserver.go b/library/httpserver/httpserver.go index 3b25fed7..434c7fc0 100644 --- a/library/httpserver/httpserver.go +++ b/library/httpserver/httpserver.go @@ -118,7 +118,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: %v", err) } select {