Skip to content

Commit

Permalink
fix: add soroban_cli tracing directive for backwards compatibility (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal authored Jun 19, 2024
1 parent f396c10 commit fb2cdaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/soroban-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit fb2cdaf

Please sign in to comment.