theduke opened issue #3599:
Feature
Make
file-per-thread-loggeran optional dependency forwasmtime-cache.Benefit
wasmtime-cachepulls infile-per-thread-logger, which also bringstermcolor,regex, andatty, even if you don't want to have those logs.In addition: glancing at the code it seems like the logging feature is actually never used, because
Worker::start_newis always called withNoneas the log prefix.Is this some left-over code?
theduke edited issue #3599:
Feature
Make
file-per-thread-loggeran optional dependency forwasmtime-cache.Benefit
wasmtime-cachepulls infile-per-thread-logger, which also bringstermcolor,regex, andatty, even if you don't want to have those logs.This is especially relevant because
cacheis a default feature ofwasmtime.In addition: glancing at the code it seems like the logging feature is actually never used, because
Worker::start_newis always called withNoneas the log prefix.Is this some left-over code?
theduke edited issue #3599:
Feature
Make
file-per-thread-loggeran optional dependency forwasmtime-cache.Benefit
wasmtime-cachepulls infile-per-thread-logger, which also bringstermcolor,regex, andatty, even if you don't want to have those logs.This is especially relevant because
cacheis a default feature ofwasmtime.In addition: glancing at the code it seems like the logging feature is actually never used -
Worker::start_newis always called withNoneas the log prefix.Is this some left-over code?
theduke commented on issue #3599:
I'm happy to do a PR that just removed the logger completely.
Users that want logging can wire uplogas they see fit.
Last updated: Dec 13 2025 at 19:03 UTC