-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Improve startup message to avoid confusing users when no error occurs #5896
Improve startup message to avoid confusing users when no error occurs #5896
Conversation
Several times, some users not very familiar with Consul get confused by error message at startup: `[INFO] agent: (LAN) joined: 1 Err: <nil>` Having `Err: <nil>` seems weird to many users, I propose to have the following instead: * Success: `[INFO] agent: (LAN) joined: 1` * Error: `[WARN] agent: (LAN) joined: %d Err: ERROR`
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.
Nice change! Left a small comment.
suggestion from @i0rek to improve error message Co-Authored-By: Hans Hasselberg <[email protected]>
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.
Could you do the same for JoinWAN
while you are at it? It has the same problem.
@i0rek DONE in next patch |
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.
🙏
Damned unstable tests |
0a604ff
to
f0483f1
Compare
Several times, some users not very familiar with Consul get confused
by error message at startup:
[INFO] agent: (LAN) joined: 1 Err: <nil>
Having
Err: <nil>
seems weird to many users, I propose to have thefollowing instead:
[INFO] agent: (LAN) joined: 1
[WARN] agent: (LAN) joined: %d Err: ERROR