-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Improve log messages to use the singular or plural forms instead of "noun(s)" #37017
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
Conversation
I've missed #36103 but if I can share my two cents: |
Thanks for feedback. I hope all cases are covered, as checkout on Windows fails, and a manual search/edit on Ubuntu was done. It is true that parsing the log messages would be a little more difficult, but I think the use case of logs are meant more for humans, and having a better language overweight the effort for the less likely message processing. |
We discussed this a few months ago and, just to capture our discussion while I can still remember it, I wanted to note that we did not agree that this change would make the log messages harder to parse. With these changes, the singular or plural will tell you if there's one or many values to come. Previously that was unknown and any parsing had to cope with both. |
Thanks very much, @asashour. |
This changes the log to use the singular form or the plural one based on the number of endpoints.