ppkarwasz opened a new issue, #4237:
URL: https://github.com/apache/logging-log4j2/issues/4237

   The class javadoc of `org.apache.log4j.layout.Log4j1SyslogLayout` lists an 
`escapeNL` attribute ("Pattern to use for replacing newlines"). This is a 
copy-paste artifact from the javadoc of `o.a.l.l.core.layout.SyslogLayout`. No 
such attribute exists on `Log4j1SyslogLayout`, its builder exposes no way to 
set one, and `toSerializable()` performs no newline handling at all.
   
   The result is that an operator reading the documentation believes a 
mitigation is available and configurable when it is not.
   
   **Proposed change:** remove the `escapeNL` entry from the javadoc. While 
there, review the rest of the attribute list for further attributes inherited 
from `SyslogLayout`'s javadoc that the class does not actually implement.
   


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