rombert closed pull request #5: removing logging bug from line 575 of 
SlingLogPanel.java
URL: https://github.com/apache/sling-org-apache-sling-commons-log/pull/5
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
 
b/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
index df83601..ac0004b 100644
--- 
a/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
+++ 
b/src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java
@@ -572,7 +572,7 @@ private void renderAppenderContent(LoggerStateContext ctx, 
PrintWriter pw, Strin
                 return;
             }
         }
-        pw.printf("No appender with name [%s] found", appenderName);
+        pw.printf("No appender with name [%s] found", 
XmlUtil.escapeXml(appenderName));
     }
 
     private String getLinkedName(FileAppender<ILoggingEvent> appender) throws 
UnsupportedEncodingException {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to