diff --git a/dhis-2/dhis-support/dhis-support-system/pom.xml b/dhis-2/dhis-support/dhis-support-system/pom.xml
index c1b5036ed6ae..3a4a2fbf5b35 100644
--- a/dhis-2/dhis-support/dhis-support-system/pom.xml
+++ b/dhis-2/dhis-support/dhis-support-system/pom.xml
@@ -124,6 +124,10 @@
org.slf4j
slf4j-api
+
+ org.apache.logging.log4j
+ log4j-layout-template-json
+
org.apache.logging.log4j
log4j-slf4j-impl
diff --git a/dhis-2/pom.xml b/dhis-2/pom.xml
index 929d009bac08..24cb56184dd2 100644
--- a/dhis-2/pom.xml
+++ b/dhis-2/pom.xml
@@ -1012,6 +1012,12 @@
log4j-core
${log4j.version}
+
+ org.apache.logging.log4j
+ log4j-layout-template-json
+ ${log4j.version}
+ runtime
+
org.apache.logging.log4j
log4j-web
@@ -2056,6 +2062,7 @@ jasperreports.version=${jasperreports.version}
net.sf.jasperreports:jasperreports-fonts
org.mockito:mockito-inline
org.apache.logging.log4j:log4j-slf4j-impl
+ org.apache.logging.log4j:log4j-layout-template-json
javax.servlet:javax.servlet-api
org.apache.jclouds.provider:aws-s3