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

Is there a switch to disable log print ? #233

Closed
Jack-Kingdom opened this issue Nov 14, 2019 · 1 comment · Fixed by #234
Closed

Is there a switch to disable log print ? #233

Jack-Kingdom opened this issue Nov 14, 2019 · 1 comment · Fixed by #234
Labels

Comments

@Jack-Kingdom
Copy link

log.Println be called on every reading, just like the below image shows, this cause so many logs writes to stderr.
Is there a switch to close log print ?

Screen Shot 2019-11-14 at 11 05 38

@SuperQ
Copy link
Member

SuperQ commented Nov 14, 2019

Whups! That's a bug, a leftover from development debugging.

@SuperQ SuperQ added the bug label Nov 14, 2019
SuperQ added a commit that referenced this issue Nov 14, 2019
Remove debug logging in meminfo, left over from development.

Fixes: #233

Signed-off-by: Ben Kochie <superq@gmail.com>
pgier pushed a commit that referenced this issue Nov 14, 2019
Remove debug logging in meminfo, left over from development.

Fixes: #233

Signed-off-by: Ben Kochie <superq@gmail.com>
remijouannet pushed a commit to remijouannet/procfs that referenced this issue Oct 20, 2022
Remove debug logging in meminfo, left over from development.

Fixes: prometheus#233

Signed-off-by: Ben Kochie <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants