From d7cff79ac733aa3081ef4a55abdf169a894a60a9 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Sat, 3 Sep 2022 10:34:45 +0800 Subject: [PATCH] log --- cmd/open_im_api/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/open_im_api/main.go b/cmd/open_im_api/main.go index 6b9b5894b..0035a96c4 100644 --- a/cmd/open_im_api/main.go +++ b/cmd/open_im_api/main.go @@ -47,7 +47,6 @@ func main() { // gin.SetMode(gin.DebugMode) r := gin.Default() r.Use(utils.CorsHandler()) - log.Info("load config: ", config.Config) r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler)) // user routing group, which handles user registration and login services @@ -225,6 +224,6 @@ func main() { fmt.Println("start api server, address: ", address) err := r.Run(address) if err != nil { - log.Error("", "run failed ", *ginPort, err.Error()) + log.Error("", "api run failed ", *ginPort, err.Error()) } }