Przeglądaj źródła

Fixed #TASK_QT-9810 打印网络数据日志

rock 1 rok temu
rodzic
commit
28282426e9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -304,7 +304,7 @@ func main() {
 		if err != nil {
 			return
 		}
-
+		log.Infoln("netdata is:", string(jsonData))
 		// 创建请求  
 		urlRoute := "/api/v2/ebpf/receive"
 		// req, err := http.NewRequest("POST", "http://10.0.7.115:18080/api/v2/ebpf/receive", bytes.NewBuffer(jsonData))