aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/base/conf.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index 4285b523..0a618ab1 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() {