GeezerVison is showing github.com — added NewLineHandling to RemoteSyslogAppender - fixes #274 by FreeAndNil · Pull Request #276 · apache/logging-log4net
Conversation
FreeAndNil
commented
Dec 7, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
added NewLineHandling to RemoteSyslogAppender - fixes #274
Before 3.3.0, newline characters (\r or \n) were always treated as line breaks.
Messages containing newlines were therefore split into multiple syslog entries.
Starting with 3.3.0, newline handling is configurable through the NewLineHandling option.
The new default is Escape.
The available modes are:
-
Escape (default since 3.3.0)
Newlines are replaced with the escaped representations \r → \\r and \n → \\n.
The message is sent as a single syslog entry.
-
Split (default before 3.3.0)
The message is split at each newline into multiple syslog entries.
Combined sequences (\r\n) count as a single break.
This matches the behaviour in versions before 3.3.0.
-
Keep
Newlines are preserved as-is in the message content.
Many syslog servers can process entries containing embedded newlines, but server support varies.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Feb 20, 2026
This was referenced Mar 1, 2026
This was referenced Mar 9, 2026
This was referenced Mar 24, 2026
This was referenced Apr 14, 2026
This was referenced Jul 30, 2026
This was referenced Aug 25, 2026
This was referenced Sep 19, 2026
This was referenced Oct 8, 2026
This was referenced Oct 22, 2026
This was referenced Oct 29, 2026
This was referenced Nov 6, 2026
This was referenced Nov 14, 2026
This was referenced Nov 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|