Stream: git-wasmtime

Topic: wasmtime / PR #1529 Use debug! logging instead of info! f...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 12:32):

rylev opened PR #1529 from debug-not-info to master:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

This issue has not been discussed, but I believe it simple enough that a discussion wasn't needed. The info! log is meant for high level logs that are relevant to every invocation. The logs in this PR are only relevant when debugging so they should use the debug! logging macro.

I'm not sure who should look at this, but perhaps @peterhuene can take a look.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:14):

sunfishcode submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:14):

sunfishcode submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:14):

sunfishcode created PR Review Comment:

This error seems is about more than just "here's some stuff you may want if you're debugging". It's more "something unexpected happened which isn't immediately fatal but which may mean the module cache isn't actually caching things".

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:14):

sunfishcode created PR Review Comment:

This also seems higher priority than debug. This is "this should be super rare, and even though we have code to handle it, be aware that this super rare thing is happening!"

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:23):

rylev submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:23):

rylev created PR Review Comment:

This sounds like warn might be more appropriate then.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:23):

rylev submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 15:23):

rylev created PR Review Comment:

this sounds like warn again

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 16:15):

sunfishcode submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 16:15):

sunfishcode created PR Review Comment:

Makes sense. Would you mind changing this one to warn?

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 16:20):

sunfishcode submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 16:20):

sunfishcode created PR Review Comment:

This message in itself doesn't indicate that something went wrong, just that something we expect to be rare, but still valid, happened. I'll go with your judgement about whether this should be info or warn though.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2020 at 18:21):

peterhuene submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 06 2020 at 08:32):

rylev updated PR #1529 from debug-not-info to master:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

This issue has not been discussed, but I believe it simple enough that a discussion wasn't needed. The info! log is meant for high level logs that are relevant to every invocation. The logs in this PR are only relevant when debugging so they should use the debug! logging macro.

I'm not sure who should look at this, but perhaps @peterhuene can take a look.

view this post on Zulip Wasmtime GitHub notifications bot (May 15 2020 at 09:30):

rylev requested peterhuene for a review on PR #1529.

view this post on Zulip Wasmtime GitHub notifications bot (May 15 2020 at 09:30):

rylev requested peterhuene and sunfishcode for a review on PR #1529.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 25 2020 at 18:50):

alexcrichton edited PR #1529 from debug-not-info to main:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

This issue has not been discussed, but I believe it simple enough that a discussion wasn't needed. The info! log is meant for high level logs that are relevant to every invocation. The logs in this PR are only relevant when debugging so they should use the debug! logging macro.

I'm not sure who should look at this, but perhaps @peterhuene can take a look.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2023 at 08:25):

rylev closed without merge PR #1529.


Last updated: Dec 23 2024 at 12:05 UTC