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

High/low watermark levels to discard logs #976

Open
Ashlanfox opened this issue Jul 28, 2022 · 1 comment
Open

High/low watermark levels to discard logs #976

Ashlanfox opened this issue Jul 28, 2022 · 1 comment

Comments

@Ashlanfox
Copy link

Ashlanfox commented Jul 28, 2022

Reading the documentation I thought high/low watermark levels could be used to discard logs (see https://www.rsyslog.com/doc/master/whitepapers/reliable_logging.html):

You can configure rsyslog to have high/low watermark levels, when the queue fills past the high watermark, rsyslog will start discarding logs below a specified severity, and stop doing so when it drops below the low watermark level

However this conflicts with rsyslog queue parameters (see https://www.rsyslog.com/doc/master/rainerscript/queue_parameters.html):

queue.highWatermark
This applies to disk-assisted queues, only. When the queue fills up to this number of messages, the queue begins to spool messages to disk. Please note that this should not happen as part of usual processing, because disk queue mode is very considerably slower than in-memory queue mode. Going to disk should be reserved for cases where an output action destination is offline for some period.

Is one part of the documentation faulty or did I miss something ?

@davidelang
Copy link
Contributor

davidelang commented Oct 11, 2022 via email

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

2 participants