From 2a9fb82298812743d13e7e590aa08ec94ac9c085 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期二, 26 十一月 2019 14:43:12 +0800 Subject: [PATCH] --- --- main.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index db05db6..6ed093a 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" @@ -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.Warn(time.Now().Format("2006-01-02 15:04:05")) arg := structure.SdkDatas{} //paramFormat(msg, &arg) start := time.Now() -- Gitblit v1.8.0