FreeAndNil opened a new issue, #377:
URL: https://github.com/apache/logging-log4net/issues/377

   `ActivateOptions` rejects an undefined `NewLineHandling`, but the property 
can still be set
   afterwards. A value other than `Escape`, `Keep` or `Split` then matches no 
branch when the message is
   written, so CR and LF are dropped without a marker: `a\nb` is sent as `ab`.
   
   The `Escape` example on the RemoteSyslogAppender page shows `A\nB\rC` for 
the input `A\nB\r\nC`; the
   appender writes `A\nB\r\nC`.
   
   Proposed fix: escape for any value other than `Keep` and `Split`, as 
`LocalSyslogAppender` does, and
   correct the example.
   


-- 
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]

Reply via email to