log level for os error is set to INFO level #13454
Labels
A-caching
Area: caching of dependencies, repositories, and build artifacts
C-bug
Category: bug
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Problem
"cargo run" command in my environment has always tried to update crates.io index. ("Updating crates.io index")
I couldn't find out the reason why this happens until I debug cargo log using log level "debug"
The problem was that cargo did not have permission to write cache. The log level for "os error" was set to INFO, so I couldn't figure it out because default log level for CARGO_LOG is warn.
Steps
No response
Possible Solution(s)
It would be better to change log level for (os error) to "warn" or "error".
Notes
No response
Version
The text was updated successfully, but these errors were encountered: