diff --git a/cmd/open_im_api/main.go b/cmd/open_im_api/main.go index c8c51a0c8..0ef3d8d6e 100644 --- a/cmd/open_im_api/main.go +++ b/cmd/open_im_api/main.go @@ -33,7 +33,6 @@ func main() { gin.SetMode(gin.DebugMode) r := gin.Default() r.Use(utils.CorsHandler()) - log.Info("load config: ", config.Config) // user routing group, which handles user registration and login services userRouterGroup := r.Group("/user") @@ -183,6 +182,6 @@ func main() { fmt.Println("start api server, port: ", *ginPort) err := r.Run(":" + strconv.Itoa(*ginPort)) if err != nil { - log.Error("", "run failed ", *ginPort, err.Error()) + log.Error("", "api run failed ", *ginPort, err.Error()) } }