main.go
@@ -42,7 +42,7 @@ if viper.GetString("LogBasePath") != "" { logFile = viper.GetString("LogBasePath") } logFile = logFile + "/ruleprocess.log" logFile = logFile + "ruleprocess.log" fmt.Println("日志地址:",logFile) logger.Config(logFile, logger.DebugLevel) logger.Info("日志初始化成功!")