also allow json logs to be sent over a TCP stream, with multiple messages using json_lines ofrmat for framing

This commit is contained in:
Chris Beck
2025-12-05 14:49:21 -07:00
parent 0a5023ce6b
commit a42aad48f4
3 changed files with 403 additions and 55 deletions
+2 -2
View File
@@ -124,8 +124,8 @@ async fn main() {
} else {
None
};
let _udp_json_task = if let Some(udp_json) = &config.udp_json {
Some(udp_json.start_udp_task(gateway.clone()).await.unwrap())
let _udp_json_tasks = if let Some(udp_json) = &config.udp_json {
Some(udp_json.start_tasks(gateway.clone()).await.unwrap())
} else {
None
};