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

Reduce log spam with LogLevelMax #76

Closed
dhewg opened this issue Sep 20, 2021 · 1 comment · Fixed by #77
Closed

Reduce log spam with LogLevelMax #76

dhewg opened this issue Sep 20, 2021 · 1 comment · Fixed by #77

Comments

@dhewg
Copy link
Contributor

dhewg commented Sep 20, 2021

Quoting from systemd/systemd#19050:

The target use case for this feature is a service that runs on a timer
many times an hour, where the system administrator decides that writing
a generic success message to the journal every few minutes or seconds
adds no diagnostic value and isn't worth the clutter or disk I/O.

Looks like that PR is part of sytemd v249, but the option existed before.

I only got a 0,10,20,30,40,50 * * * * timer, but that's already enough to easily overlook more serious log entries.

dhewg added a commit to dhewg/systemd-cron that referenced this issue Sep 21, 2021
Fixes systemd-cron#76.

Signed-off-by: Andre Heider <a.heider@gmail.com>
@dhewg
Copy link
Contributor Author

dhewg commented Sep 21, 2021

I gave it a try, works beautifully. How calm that journal now ;)

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

Successfully merging a pull request may close this issue.

2 participants