From ff351975fe6f35671594bd141e1783418f92628f Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Tue, 14 Jan 2025 22:14:06 +0800 Subject: [PATCH] trace bug --- writeLog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writeLog.go b/writeLog.go index e16719d..87927d5 100644 --- a/writeLog.go +++ b/writeLog.go @@ -23,7 +23,7 @@ func (wg *WriteLog) Process(cr *Core) error { fullUrl := "http://" + cr.FluentBitUrl + "/" + wg.Tag res, err := http.Post(fullUrl, "application/json", reqBody) - fmt.Println("requested, response:", fullUrl, string(wg.Content), res) + logrus.Warn("requested, response:", fullUrl, string(wg.Content), res) if err != nil { logrus.Error(err) }