ensureLFEnding

Ensures each message is written with a terminating line feed when sent to stdout.

This parameter applies to omstdout: stdout output module (testbench tool).

Name:

ensureLFEnding

Scope:

input

Type:

boolean

Default:

input=on

Required?:

no

Introduced:

4.1.6

Description

Ensures that each message is written with a terminating line feed. If the message already contains a trailing line feed, none is added. This is needed for the automated tests.

Input usage

action(type="omstdout" ensureLFEnding="on")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $ActionOMStdoutEnsureLFEnding — maps to ensureLFEnding (status: legacy)

See also

See also omstdout: stdout output module (testbench tool).


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.