-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Only dump config in debug mode #1508
Conversation
Doesn't make sense to dump this in normal info level. Signed-off-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ruudk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @hjacobs |
I find it very useful. |
This is an internal Go struct dumped into the log. It’s not human readable. If you want this info, you can:
|
Do you really think it's not human-readable? It's a list of key:values (json-like) which is fine in my opinion. |
Yes, it’s very difficult for me to read through huge blobs like that, especially since it’s not formatted with newlines and indentations. |
Ok. Got your point. |
I agree that it is useful and being printed only at startup, not a problem. I would welcome a prettier print of that config. |
This has been open long enough and it seems there is no interesting in adding the prettier print. Given that the current print is useful, I'm going to close this PR. |
Doesn't make sense to dump this in normal info level: