From fb2cdaf1932fdf941d8a810323704f7462aac4f3 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Wed, 19 Jun 2024 16:46:25 -0400 Subject: [PATCH] fix: add soroban_cli tracing directive for backwards compatibility (#1393) --- cmd/soroban-cli/src/cli.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/cli.rs b/cmd/soroban-cli/src/cli.rs index a6be9572d..2d42a173b 100644 --- a/cmd/soroban-cli/src/cli.rs +++ b/cmd/soroban-cli/src/cli.rs @@ -45,7 +45,8 @@ pub async fn main() { if let Some(level) = root.global_args.log_level() { let mut e_filter = EnvFilter::from_default_env() .add_directive("hyper=off".parse().unwrap()) - .add_directive(format!("stellar_cli={level}").parse().unwrap()); + .add_directive(format!("stellar_cli={level}").parse().unwrap()) + .add_directive(format!("soroban_cli={level}").parse().unwrap()); for filter in &root.global_args.filter_logs { e_filter = e_filter.add_directive(