Skip to content
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

Fixes #15126: Add verbosity level in the rudder logger #1048

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Aug 21, 2019

@Fdall Fdall force-pushed the ust_15126/add_verbosity_level_in_the_rudder_logger branch from 29562a5 to 303788a Compare August 21, 2019 12:01
@Fdall
Copy link
Contributor Author

Fdall commented Aug 21, 2019

Commit modified

@Fdall Fdall force-pushed the ust_15126/add_verbosity_level_in_the_rudder_logger branch from 303788a to a3d60a2 Compare August 21, 2019 12:02
@Fdall
Copy link
Contributor Author

Fdall commented Aug 21, 2019

Commit modified

@Fdall Fdall requested a review from ncharles August 21, 2019 12:03
#
# If the parameter mode is not in the list above, it will report in a classical manner
# based on the reporting context and the defined classes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really confused on how it should work: it has a class prefix, that it won't use to get the _repaired, _success, _failure, so the message will also be not be customized

why not simply having a
bundle agent log_rudder_mode(mode, message, class_parameter, class_prefix) ?
signature will only expose what's relevant, and make it easier to use.

@Fdall Fdall force-pushed the ust_15126/add_verbosity_level_in_the_rudder_logger branch from a3d60a2 to 70f771e Compare September 4, 2019 13:40
@Fdall
Copy link
Contributor Author

Fdall commented Sep 4, 2019

Commit modified

@Fdall Fdall force-pushed the ust_15126/add_verbosity_level_in_the_rudder_logger branch from 70f771e to 0facce9 Compare September 4, 2019 13:42
@Fdall
Copy link
Contributor Author

Fdall commented Sep 4, 2019

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 0facce9 into Normation:master Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants