From 35a326e1698300795b0e219a8411e44f1b87ef50 Mon Sep 17 00:00:00 2001 From: star liu Date: Thu, 10 Aug 2023 22:12:10 +0800 Subject: [PATCH] fix(ghttp): fix access log info format (#2853) --- net/ghttp/ghttp_server_log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ghttp/ghttp_server_log.go b/net/ghttp/ghttp_server_log.go index 7e8ca755a2f..2b67156bd3e 100644 --- a/net/ghttp/ghttp_server_log.go +++ b/net/ghttp/ghttp_server_log.go @@ -42,7 +42,7 @@ func (s *Server) handleAccessLog(r *Request) { l.SetLevelPrint(false) return l }).(*glog.Logger) - logger.Printf(r.Context(), content) + logger.Print(r.Context(), content) } // handleErrorLog handles the error logging for server.