You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2020/11/19 16:00:20 UTC

[logging-log4j2] 01/02: Escape XML characters in JTL POM.

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit cd4aa208fbcf9fdfea9e82890212cd17d3bc0662
Author: Volkan Yazıcı <vo...@gmail.com>
AuthorDate: Thu Nov 19 16:47:10 2020 +0100

    Escape XML characters in JTL POM.
---
 log4j-layout-template-json/pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/log4j-layout-template-json/pom.xml b/log4j-layout-template-json/pom.xml
index 11decbd..972b4e9 100644
--- a/log4j-layout-template-json/pom.xml
+++ b/log4j-layout-template-json/pom.xml
@@ -392,6 +392,7 @@
                         <arg>1</arg>
                         <arg>-e</arg>
                         <arg>
+                          <![CDATA[
                           input {
                             gelf {
                               host => "logstash"
@@ -436,6 +437,7 @@
                               index => "log4j"
                             }
                           }
+                          ]]>
                         </arg>
                       </exec>
                     </entrypoint>