# DisableLFDelimiter

Disables LF as a frame delimiter to allow a custom delimiter.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

  DisableLFDelimiter

Scope:

  module, input

Type:

  boolean

Default:

  module=off, input=module parameter

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Industry-standard plain text tcp syslog uses the LF to delimit syslog frames. However, some users brought up the case that it may be useful to define a different delimiter and totally disable LF as a delimiter (the use case named were multi-line messages). This mode is non-standard and will probably come with a lot of problems. However, as there is need for it and it is relatively easy to support, we do so. Be sure to turn this setting to “on” only if you exactly know what you are doing. You may run into all sorts of troubles, so be prepared to wrangle with that!

The same-named input parameter can override this module setting.

## Module usage

    module(load="imtcp" disableLFDelimiter="on")

## Input usage

    input(type="imtcp" port="514" disableLFDelimiter="on")

### Legacy names (for reference)

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

- $InputTCPServerDisableLFDelimiter — maps to DisableLFDelimiter (status: legacy)

## See also

See also imtcp: TCP Syslog 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.