summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-15 23:11:22 -0500
committerUnknwon <u@gogs.io>2016-02-15 23:11:22 -0500
commit9cf4fe043b2698c1a03ab7f04ebdd11591831d15 (patch)
tree9580df361903816dfc353f0a3aaac6d97c6ba276 /modules
parent2765b5c7cf6fa234fd86a14ee50597f8ed841c18 (diff)
downloadgitea-9cf4fe043b2698c1a03ab7f04ebdd11591831d15.tar.gz
gitea-9cf4fe043b2698c1a03ab7f04ebdd11591831d15.zip
Add env var check for update
Diffstat (limited to 'modules')
-rw-r--r--modules/log/log.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/log/log.go b/modules/log/log.go
index a17c912f31..5e4bf6c120 100644
--- a/modules/log/log.go
+++ b/modules/log/log.go
@@ -37,6 +37,7 @@ func NewLogger(bufLen int64, mode, config string) {
}
}
+// FIXME: use same log level as other loggers.
func NewGitLogger(logPath string) {
os.MkdirAll(path.Dir(logPath), os.ModePerm)
GitLogger = newLogger(0)