persistStateAfterSubmission¶
Persists state file information after each batch submission for robustness.
This parameter applies to imfile: Text File Input Module.
- Name:
persistStateAfterSubmission
- Scope:
input
- Type:
boolean
- Default:
off
- Required?:
no
- Introduced:
8.2006.0
Description¶
When switched on
, imfile persists state file information after a batch of
messages has been submitted. This enhances robustness against unclean
shutdowns, but may cause frequent state file writes and degrade performance,
depending on overall rsyslog configuration.
Input usage¶
input(type="imfile" persistStateAfterSubmission="on")
Notes¶
Legacy documentation used the term
binary
for the type. It is treated as boolean.
See also¶
See also imfile: Text File Input Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.