Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdud007 committed Aug 19, 2024
1 parent 326d8e7 commit 7fb17d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use hdp::{
TaskEnvelope,
},
};
use tracing::info;
use tracing::{debug, info};
use tracing_subscriber::{EnvFilter, FmtSubscriber};

pub async fn hdp_cli_run() -> anyhow::Result<()> {
Expand Down Expand Up @@ -53,7 +53,7 @@ fn init_cli() -> Result<HDPCli> {
.with_env_filter(EnvFilter::new(&rust_log))
.finish();
tracing::subscriber::set_global_default(subscriber).expect("Failed to set subscriber");
info!("running on log level: {}", rust_log);
debug!("running on log level: {}", rust_log);
let cli = HDPCli::parse();
Ok(cli)
}
Expand Down

0 comments on commit 7fb17d3

Please sign in to comment.