From 576b6da0f5e17fa216fdfc1938b43546fd700887 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 14 Sep 2018 22:07:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dghttp.Server=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=B7=AF=E5=BE=84=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + g/net/ghttp/ghttp_server_config_logger.go | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 638a8dbb0..644a56cf8 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ pkg/ bin/ cbuild */.DS_Store +.vscode/ diff --git a/g/net/ghttp/ghttp_server_config_logger.go b/g/net/ghttp/ghttp_server_config_logger.go index 0da39f2c0..1e657e59f 100644 --- a/g/net/ghttp/ghttp_server_config_logger.go +++ b/g/net/ghttp/ghttp_server_config_logger.go @@ -20,6 +20,7 @@ func (s *Server)SetLogPath(path string) { return } s.config.LogPath = path + s.logger.SetPath(path) } // 设置是否开启access log日志功能