Skip to content

Adjust newline handling of the RemoteSysLogAppender #274

@FreeAndNil

Description

@FreeAndNil

Currently the RemoteSysLogAppender splits messages on newlines:
https://logging.apache.org/log4net/manual/configuration/appenders/remotesyslogappender.html#newlinehandling

It would be desirable that one can configure this behaviour:

  • keep newlines as is (many syslog servers can handle newlines in the message part)
  • escape the newlines (\\r for \r and \\n for \n)
  • splitting the message at new lines

The new default should be escaping the newlines.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions