From bd4b2e1c8b89211c4eaac65e22cbb12b51ff59b3 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期二, 26 十一月 2019 14:22:30 +0800 Subject: [PATCH] --- --- main.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 509778a..db05db6 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ "flag" "fmt" "github.com/spf13/viper" - log "github.com/jeanphorn/log4go" + //log "github.com/jeanphorn/log4go" "ruleprocess/cache" "ruleprocess/ruleserver" "sync" @@ -45,7 +45,7 @@ logger.Info("鏃ュ織鍒濆鍖栨垚鍔燂紒") // log4go - log.LoadConfiguration("./logger/log4go.json") + //log.LoadConfiguration("./logger/log4go.json") } func main() { //fmt.Println("缂撳瓨鍒濆鍖栧畬鎴�",<- initchan)//dbserver鍒濆鍖栧畬姣� @@ -92,7 +92,7 @@ //logger.Debug("浣跨敤鐨刢pu涓暟锛�",runtime.NumCPU()) //go func(msg []byte) { logger.Debug("褰撳墠鏃堕棿鎴筹細", time.Now().Unix()) - log.Info(time.Now().Format("2006-01-02 15:04:05")) + //log.Info(time.Now().Format("2006-01-02 15:04:05")) arg := structure.SdkDatas{} //paramFormat(msg, &arg) start := time.Now() -- Gitblit v1.8.0