ramanathan1504 commented on code in PR #4472:
URL: https://github.com/apache/logging-log4j2/pull/4472#discussion_r4535433584


##########
src/changelog/.3.x.x/4464_fix_rfc5424_newline_escape.xml:
##########
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="https://logging.apache.org/xml/ns";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="
+           https://logging.apache.org/xml/ns
+           https://logging.apache.org/xml/ns/log4j-changelog-0.xsd";
+       type="fixed">
+    <issue id="4464" 
link="https://github.com/apache/logging-log4j2/issues/4464"/>
+    <issue id="4471" 
link="https://github.com/apache/logging-log4j2/pull/4471"/>
+    <description format="asciidoc">
+        Escape the `escapeNL` replacement in `Rfc5424Layout` structured data 
parameter values.
+        Receivers that do not decode RFC 5424 escapes will now see `\\n` 
instead of `\n`
+        in structured data when `escapeNL` is set to `\n`.
+    </description>

Review Comment:
   Can the description be one line, as on #4471?
   
   ```suggestion
       <description format="asciidoc">
           Escape `escapeNL` in RFC 5424 SD values, so `\n` is sent as `\\n`.
       </description>
   ```



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