-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify logging to use SCCACHE_LOG. #822
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change! I think the documentation changes belong somewhere else, as noted below.
As per #810, modify env_logger to use the SCCACHE_LOG environment variable instead of the RUST_LOG one. This is to enable control of sccache logs whilst debugging other rust binaries. Update docs for SCCACHE_LOG.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
… the presence of cache read failures r=froydnj This avoids a set of intermittent issues related to `zstd` decompression failures, which in the absence of these changes break the entire build. This also requires [updating an environment variable](mozilla/sccache#822), which we do in `client.mk` as well as documentation. Differential Revision: https://phabricator.services.mozilla.com/D88184
… the presence of cache read failures r=froydnj This avoids a set of intermittent issues related to `zstd` decompression failures, which in the absence of these changes break the entire build. This also requires [updating an environment variable](mozilla/sccache#822), which we do in `client.mk` as well as documentation. Differential Revision: https://phabricator.services.mozilla.com/D88184
This didn't update the sccache-dist binary, which still uses sccache/src/bin/sccache-dist/main.rs Line 433 in b3f4727
|
Thanks @mstange I must have missed this. I'm unavailable for the next week and will get to this in about 10 days. |
I've added this in #977. |
As per #810, modify env_logger to use the SCCACHE_LOG environment
variable instead of the RUST_LOG one. This is to enable control of
sccache logs whilst debugging other rust binaries.