Skip to content

Commit 9ba0cc8

Browse files
committed
chore(cli-tracing): skip cmd in log
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent da885ce commit 9ba0cc8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

crates/wasmtime-cli/src/nats.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub async fn handle_serve(
9999
crate::handle_serve(exports, imports, None, *timeout, workload).await
100100
}
101101

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

crates/wasmtime-cli/src/quic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub async fn handle_run(
5959
.await
6060
}
6161

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

crates/wasmtime-cli/src/tcp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub async fn handle_serve(
9999
res
100100
}
101101

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

crates/wasmtime-cli/src/unix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub async fn handle_serve(
101101
res
102102
}
103103

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

crates/wasmtime-cli/src/web.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub async fn handle_run(
5151
.await
5252
}
5353

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

0 commit comments

Comments
 (0)