theduke opened issue #3599:
Feature
Make
file-per-thread-logger
an optional dependency forwasmtime-cache
.Benefit
wasmtime-cache
pulls 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_new
is always called withNone
as the log prefix.Is this some left-over code?
theduke edited issue #3599:
Feature
Make
file-per-thread-logger
an optional dependency forwasmtime-cache
.Benefit
wasmtime-cache
pulls infile-per-thread-logger
, which also bringstermcolor
,regex
, andatty
, even if you don't want to have those logs.This is especially relevant because
cache
is a default feature ofwasmtime
.In addition: glancing at the code it seems like the logging feature is actually never used, because
Worker::start_new
is always called withNone
as the log prefix.Is this some left-over code?
theduke edited issue #3599:
Feature
Make
file-per-thread-logger
an optional dependency forwasmtime-cache
.Benefit
wasmtime-cache
pulls infile-per-thread-logger
, which also bringstermcolor
,regex
, andatty
, even if you don't want to have those logs.This is especially relevant because
cache
is a default feature ofwasmtime
.In addition: glancing at the code it seems like the logging feature is actually never used -
Worker::start_new
is always called withNone
as 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 uplog
as they see fit.
Last updated: Nov 22 2024 at 16:03 UTC