Hi! Sorry, bit of a daft question, but was trying to debug why/where a program of mine was getting stuck, and was having issues getting RUST_LOG
to work. My understanding of https://docs.wasmtime.dev/cli-logging.html is that I should do RUST_LOG=wasi_common=trace
, but neither that nor RUST_LOG=trace
appear to do anything.
Tested this on wasmtime 20.0.2, installed from both Arch and Nix and with and without -D logging=yes
.
Try WASMTIME_LOG instead (poorly documented, sorry!)
Oh perfect, thank you!
Ahh, the logger name has also changed to wasmtime_wasi
. Will submit a PR in a wee bit with those fixes.
thanks for reporting this - the docs website doesnt get a lot of love, so we only notice these problems when someone tells us
Jonathan Coates has marked this topic as resolved.
Last updated: Dec 23 2024 at 13:07 UTC