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

Feature Request - Less verbose mode #9

Closed
diist opened this issue Sep 29, 2016 · 0 comments
Closed

Feature Request - Less verbose mode #9

diist opened this issue Sep 29, 2016 · 0 comments

Comments

@diist
Copy link

diist commented Sep 29, 2016

buildkite-metrics has very verbose logs. In our stacks we're running it every 5 minutes, which turns into 30k log lines a day per instance (and we retain it all).

It would be great to have a -quiet flag that would only print one line in case of success. Or this be default behavior and a -verbose flag to print all the details.

As a workaround, I thought of redirecting stdout to /dev/null but it doesn't work because the standard Go logger sends everything to stderr, see https://golang.org/pkg/log/#pkg-overview .

@diist diist changed the title [Feature Request] - Quiet mode Feature Request - Quiet mode Sep 29, 2016
@diist diist changed the title Feature Request - Quiet mode Feature Request - Less verbose mode Sep 29, 2016
@lox lox closed this as completed in 648d402 Dec 17, 2016
lox added a commit that referenced this issue Dec 17, 2016
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

No branches or pull requests

1 participant