From e46251f70b9fc15fe35aac58c6bb00f71ff27a2e Mon Sep 17 00:00:00 2001 From: alanwooo Date: Thu, 31 Mar 2016 11:29:04 +0800 Subject: [PATCH] Fixed the new logger module use error --- controllers/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/base.go b/controllers/base.go index 58df9a3ab..23ad62c89 100644 --- a/controllers/base.go +++ b/controllers/base.go @@ -124,7 +124,7 @@ func init() { //conf/app.conf -> os.Getenv("config_path") configPath := os.Getenv("CONFIG_PATH") if len(configPath) != 0 { - log.Printf("Config path: %s", configPath) + log.Infof("Config path: %s", configPath) beego.AppConfigPath = configPath if err := beego.ParseConfig(); err != nil { log.Warningf("Failed to parse config file: %s, error: %v", configPath, err)