From ff48aeddeff2e16f45fe4bae1220f3ed47b786a4 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 25 May 2014 20:57:01 -0400 Subject: Little bug fix --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/setting/setting.go') diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 451b2378..7ae31a22 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -99,6 +99,7 @@ func WorkDir() (string, error) { } // NewConfigContext initializes configuration context. +// NOTE: do not print any log except error. func NewConfigContext() { workDir, err := WorkDir() if err != nil { @@ -118,7 +119,6 @@ func NewConfigContext() { if len(CustomPath) == 0 { CustomPath = path.Join(workDir, "custom") } - log.Trace("Custom path: %s", CustomPath) cfgPath := path.Join(CustomPath, "conf/app.ini") if com.IsFile(cfgPath) { -- cgit v1.2.3