From a62d21f9d430185dea8e62f0107d67f1b282a7d7 Mon Sep 17 00:00:00 2001 From: Christoph Herzog Date: Fri, 15 Nov 2024 10:43:54 +0100 Subject: [PATCH] chore(wasix): Downgrade debug logs to trace Debug is too spammy for Edge. --- lib/wasix/src/syscalls/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/wasix/src/syscalls/mod.rs b/lib/wasix/src/syscalls/mod.rs index 00bb95a55fd..82df85b0f64 100644 --- a/lib/wasix/src/syscalls/mod.rs +++ b/lib/wasix/src/syscalls/mod.rs @@ -1054,7 +1054,7 @@ pub(crate) fn deep_sleep( .unwrap(); let store_data = Bytes::from(store_data); - tracing::debug!( + tracing::trace!( "stack snapshot unwind (memory_stack={}, rewind_stack={}, store_data={})", memory_stack.len(), rewind_stack.len(), @@ -1466,22 +1466,22 @@ where match result.rewind_result { RewindResultType::RewindRestart => { - debug!(%pid, %tid, "rewind for syscall restart"); + tracing::trace!(%pid, %tid, "rewind for syscall restart"); None } RewindResultType::RewindWithoutResult => { - debug!(%pid, %tid, "rewind with no result"); + tracing::trace!(%pid, %tid, "rewind with no result"); Some(None) } RewindResultType::RewindWithResult(rewind_result) => { - debug!(%pid, %tid, "rewind with result (data={})", rewind_result.len()); + tracing::trace!(%pid, %tid, "rewind with result (data={})", rewind_result.len()); let ret = bincode::deserialize(&rewind_result) .expect("failed to deserialize the rewind result"); Some(Some(ret)) } } } else { - debug!(%pid, %tid, "rewind miss"); + tracing::trace!(%pid, %tid, "rewind miss"); Some(None) } }