summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-25 20:57:01 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-25 20:57:01 -0400
commitff48aeddeff2e16f45fe4bae1220f3ed47b786a4 (patch)
treedd554179031f5edc4d0ad8dfc5b4b50c55ad396b /modules
parentd72fdc99003f5d60bd32c91b1679f4d7b72567c7 (diff)
downloadgitea-ff48aeddeff2e16f45fe4bae1220f3ed47b786a4.tar.gz
gitea-ff48aeddeff2e16f45fe4bae1220f3ed47b786a4.zip
Little bug fix
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 451b2378e1..7ae31a22dc 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) {