# escapeLF

Escapes line feeds as `#012` in multi-line messages; default `on`.

This parameter applies to imdocker: Docker Input Module.

Name:

  escapeLF

Scope:

  module

Type:

  boolean

Default:

  module=on

Required?:

  no

Introduced:

  8.41.0

## Description

If enabled, line feed characters embedded in messages are escaped to the sequence `#012`. This avoids issues with tools that do not expect embedded LF characters.

## Module usage

    module(load="imdocker" escapeLF="...")

## Notes

- The original documentation described this as a binary option; it is a boolean parameter.

## See also

See also imdocker: Docker 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.