-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Refine etcdctl snapshot restore error logs #9290
Comments
No. This is the whole point of why stderr exists. Users should only redirect stdout if they only care about the final result rather than any informational or diagnostic messages. |
@xiang90 I understand your argument. But let's be honest that this mixing of diagnostic information and user-facing error message is confusing. If etcdctl runs successfully, it logs what it affected users like writing files. If it fails, it logs what failures should user expect -- in this case, As a side note, stdout/stderr doesn't really matter. |
I've improved error messaging to be more clear. And now you can specify log output (default is |
Continue discussion: #9179
The following lines are always printed to stderr
It has two issues:
The text was updated successfully, but these errors were encountered: