-
Notifications
You must be signed in to change notification settings - Fork 226
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
source/custom: dump config in more human-readable form #473
source/custom: dump config in more human-readable form #473
Conversation
0dee093
to
c037431
Compare
For development this is nice. Dunno about production 🤔 |
c037431
to
42be149
Compare
maybe |
What I was merely pondering was the oneline vs multi-line format. Multi-line is not that friendly for external log servers (I think). There would be some options to tackle this if we . One would be to dump a oneliner with |
What about a |
Why not, something like that would probably be useful. But, I think that's a separate issue from this one (Could you open an issue about that?) This PR is about making the existing debug print more readable. |
my concern with this PR is that the custom config is a config map, I don't see the value of printing it on the logs, if you can |
It's not just a configmap. It's composed of several sources: the static rules, main config file and extra rules under
This is more of a debugging aid (and should probably be |
Also, increase the verbosity level to 2 because this can produce quite a bunch of log message lines.
42be149
to
011954e
Compare
Rebased and increased log level to 2. |
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.
As level 2 I like this idea
looks good to me (lgtm)
WDYT @Ethyling
LGTM |
I am ok with it being in the release, more since we are getting the core-config feature, debugging NFD in prod systems, this will help |
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.
Since 2 reviewers already gave lgtm, I am creating the flag but not removing the hold label
Leaving the unhold to Marquiz
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for the reviews! I think we can merge this, especially as it's |
You get log entries like this (with
-v 1
):