diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-06 13:54:48 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-06 13:54:48 -0400 |
commit | db1fe3483ed2c8c0962ee4395073e0b190310602 (patch) | |
tree | ff4895bc560bf1ae4d0ec717b9cf33045e003cac /modules | |
parent | 6a16866f4e0908e62c5e5b30e3dc0ef8e4cb0819 (diff) | |
download | gitea-db1fe3483ed2c8c0962ee4395073e0b190310602.tar.gz gitea-db1fe3483ed2c8c0962ee4395073e0b190310602.zip |
Fix bug related to log
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base/conf.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go index 4285b52394..0a618ab1d2 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -150,6 +150,7 @@ func newLogService() { Cfg.MustValue(modeSec, "CONN")) } + log.Info("%s %s", AppName, AppVer) log.NewLogger(Cfg.MustInt64("log", "BUFFER_LEN", 10000), LogMode, LogConfig) log.Info("Log Mode: %s(%s)", strings.Title(LogMode), levelName) } @@ -292,8 +293,6 @@ func NewConfigContext() { if err = os.MkdirAll(RepoRootPath, os.ModePerm); err != nil { qlog.Fatalf("Fail to create RepoRootPath(%s): %v\n", RepoRootPath, err) } - - log.Info("%s %s", AppName, AppVer) } func NewServices() { |