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

Set verbosity level on info/debug messages to reduce unnecessary logging #134

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

TothFerenc
Copy link
Contributor

What type of PR is this?
cleanup

What does this PR give to us:
Currently svcwatcher is very noisy. It generates too many log entries, because all the function calls are logged. This PR sets the verbosity level of these info/debug messages to 5, so they will be suppressed by default. Such detailed logging can be enabled by -v=5 commandline parameter.

Which issue(s) this PR fixes
Fixes #14

Special notes for your reviewer:
I know that you have plans to replace glog to something better, but this fix is kindof urgent to reduce fluentd load and save log data store capacity.

Does this PR introduce a user-facing change?:
NONE

@Levo-var
Copy link
Collaborator

Yeah replacement can be done later, sure
LGTM but I can't merge from my holiday account :)

@Levovar Levovar merged commit c043bfb into nokia:master Aug 26, 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
Development

Successfully merging this pull request may close these issues.

Svcwatcher floods std:out even with default log level
3 participants