You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's very common for log messages to go to stderr. In fact, if they went to stdout, they would get mixed with a command's normal output, which the user might need to read and use.
Imagine go list some.package/path/.... If that command has to download a module, the standard output would be more than just the resulting package paths.
So I'm not sure how you'd send all log messages to stdout without breaking cmd/go in a dozen ways.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What did you expect to see?
go prints messages about module lookup into stdout because it is not an error
What did you see instead?
go prints messages about module lookup into stderr
cache.go contains such code
The text was updated successfully, but these errors were encountered: