Skip to content

Conversation

Fishrock123
Copy link
Member

Some minor follow-up for my previous change to the logger which made it use the debug formatter. Very helpful for debugging but probably annoying in "production-like" logs.

This also does some code deduplication.

I'd like to clean this up more but that probably means investing time in either changing the log format entirely or separating out the key-value formatter from log so that we can call it separately before passing to a log level.

Should help clean up stuff in the release-mode json logs.
Ideally there would be a separate key-value formatter that isn't directly connected to the log crate.
@Fishrock123
Copy link
Member Author

error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel nightly
Sometimes not all components are available in any given nightly.
Error: Process completed with exit code 1.

Well that's fun. Maybe we should run fmt and clippy on beta and not nightly.

@tirr-c
Copy link
Collaborator

tirr-c commented Nov 5, 2020

Well rustfmt is broken for over a week according to rust-toolstate, I haven't seen this before. Maybe we really need beta?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants