From cde9654a7845d7ad4edc84595a28e5ab7c8b044c Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 3 May 2024 01:07:24 +0200 Subject: [PATCH] Fix: Memory leak It turns out that console-subscriber has a memory leak, this is fixed in main, but there has not been a new release yet. So for now we go back to tracing subscriber. --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e7dec2b..e40df8e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,7 +44,8 @@ async fn main() { async fn app() -> anyhow::Result<()> { dotenv().ok(); - console_subscriber::init(); + tracing_subscriber::fmt::init(); + // console_subscriber::init(); info!("Starting automation_rs...");