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

Please add command line option for reducing log verbosity #57

Open
niels-moller opened this issue Nov 14, 2024 · 0 comments
Open

Please add command line option for reducing log verbosity #57

niels-moller opened this issue Nov 14, 2024 · 0 comments

Comments

@niels-moller
Copy link

Hi,

we're running a network service with a yubihsm as signing oracle, and our service generates requests to the yubihsm-connector every 10s (+ additional requests from the keep-alive logic in the yubihsm-go client library).

The connector generates logs at info-level for each successful requests (which makes sense), but these messages fill up our logs.

See

clog.WithFields(fields).Info("handled request")

There is a --debug option to increase verbosity, but apparently no way to decrease verbosity. It would be nice with a --level=warn option or corresponding config file setting, to silence all the info messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant