trace bug

This commit is contained in:
zhangkun9038@dingtalk.com 2025-01-14 22:14:06 +08:00
parent 374c772da4
commit ff351975fe

View File

@ -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)
}