FreeAndNil opened a new issue, #372:
URL: https://github.com/apache/logging-log4net/issues/372
`LocalSyslogAppender` escapes line breaks by default (`NewLineHandling`
`Escape`), since 3.5.0:
- `newLineHandling` accepts a number or a comma list, for example `5`. An
undefined value is not
rejected and runs as `Keep`: CR and LF reach `syslog(3)` raw, without a
diagnostic.
ANT-2026-6O92ZO65.
- `Escape` and `Split` handle CR and LF only. VT, FF, FS, GS, RS, NEL
(U+0085), U+2028 and U+2029
pass raw, and a reader that breaks lines at them shows one record as two.
ANT-2026-1YRNCBP9.
Proposed fix: `ActivateOptions` rejects an undefined value with
`ArgumentOutOfRangeException`, as
`RemoteSyslogAppender` does; a value set later is escaped. `Escape` and
`Split` write the other
eight line breaks as `\uXXXX`. `Keep` stays raw.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]