Skip to content

Commit

Permalink
chore(cli-tracing): skip cmd in log
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Nov 23, 2024
1 parent da885ce commit 9ba0cc8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/wasmtime-cli/src/nats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub async fn handle_serve(
crate::handle_serve(exports, imports, None, *timeout, workload).await
}

#[instrument(level = "trace", ret(level = "trace"))]
#[instrument(level = "trace", skip_all, ret(level = "trace"))]
pub async fn run(cmd: Command) -> anyhow::Result<()> {
match cmd {
Command::Run(args) => handle_run(args).await,
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmtime-cli/src/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub async fn handle_run(
.await
}

#[instrument(level = "trace", ret(level = "trace"))]
#[instrument(level = "trace", skip_all, ret(level = "trace"))]
pub async fn run(cmd: Command) -> anyhow::Result<()> {
match cmd {
Command::Run(args) => handle_run(args).await,
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmtime-cli/src/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub async fn handle_serve(
res
}

#[instrument(level = "trace", ret(level = "trace"))]
#[instrument(level = "trace", skip_all, ret(level = "trace"))]
pub async fn run(cmd: Command) -> anyhow::Result<()> {
match cmd {
Command::Run(args) => handle_run(args).await,
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmtime-cli/src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub async fn handle_serve(
res
}

#[instrument(level = "trace", ret(level = "trace"))]
#[instrument(level = "trace", skip_all, ret(level = "trace"))]
pub async fn run(cmd: Command) -> anyhow::Result<()> {
match cmd {
Command::Run(args) => handle_run(args).await,
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmtime-cli/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub async fn handle_run(
.await
}

#[instrument(level = "trace", ret(level = "trace"))]
#[instrument(level = "trace", skip_all, ret(level = "trace"))]
pub async fn run(cmd: Command) -> anyhow::Result<()> {
match cmd {
Command::Run(args) => handle_run(args).await,
Expand Down

0 comments on commit 9ba0cc8

Please sign in to comment.