wasmtime
wasmtime copied to clipboard
Use debug! logging instead of info! for verbose logging
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.
Subscribe to Label Action
cc @bnjbvr
Thus the following users have been cc'd because of the following labels:
- bnjbvr: cranelift
To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.
@sunfishcode no it doesn't seem like there's good docs on when to use which log. From what I've seen out there
infois high-level logs that you'd want to show on every normal run of the programwarnis something went wrong but it's not fatal and should just be checked out when you have a chanceerroran error occured. It's not enough to crash the program but it's something that should be looked into ASAP *debugany info that would be relevant to see the flow of the executing programtracevery verbose logs. Generally not helpful for program wide debugging but useful when inspecting a small segment of the program.
It looks like CI failed to build because ld couldn't link, but it gave no discernible diagnostic message, just returned an exit code of 1. Hopefully just a transient failure.
That always happens for me when the disk is full.
The failure is that CI is running out of disk space and we have some PRs up that will hopefully help mitigate the problem shortly.
@peterhuene This should be good to go now. Sorry for the delay!
@rylev I'm cleaning up old PRs and came upon this; are you still interested in this change? (Lots of conflicts now but it seems it wouldn't be too hard to redo the change in general) Sorry this got dropped on the floor beforehand!
@cfallin no worries! I'll close this. The user can always filter the logs fairly easily if it's too verbose.