rotation.sizeLimitCommandPassFileName¶
Controls whether the current file name is passed as an argument to rotation.sizeLimitCommand.
This parameter applies to omfile: File Output Module.
- Name:
rotation.sizeLimitCommandPassFileName
- Scope:
action
- Type:
boolean
- Default:
action=on
- Required?:
no
- Introduced:
8.x (2026-01-28)
Description¶
When enabled, the file name that exceeded rotation.sizeLimit is appended as the last argument to rotation.sizeLimitCommand. Any arguments specified as part of rotation.sizeLimitCommand are retained and passed first.
Set to off to preserve scripts that expect no additional arguments.
Action usage¶
action(type="omfile" rotation.sizeLimitCommandPassFileName="on")
See also¶
See also omfile: File Output 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.