From 0fb746bc03f796abe75405b01fce510a4fe571fe Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 12 Apr 2024 05:00:17 -0700 Subject: [PATCH] fix log finally? maybe? --- bin/periphery/src/helpers/docker/container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/periphery/src/helpers/docker/container.rs b/bin/periphery/src/helpers/docker/container.rs index 57eeb3e37..907824394 100644 --- a/bin/periphery/src/helpers/docker/container.rs +++ b/bin/periphery/src/helpers/docker/container.rs @@ -42,7 +42,7 @@ pub async fn container_log_search( } }; let command = - format!("docker logs {container_name} --tail 5000 |& {grep}"); + format!("docker logs {container_name} --tail 5000 2>&1 | {grep}"); run_monitor_command("get container log grep", command).await }