diff --git a/modules/core/distribution/pom.xml b/modules/core/distribution/pom.xml
index fbcecc64..1e1397af 100644
--- a/modules/core/distribution/pom.xml
+++ b/modules/core/distribution/pom.xml
@@ -288,7 +288,7 @@
-
- log4j.logger.net.sf.ehcache=ERROR
-
-
diff --git a/modules/core/distribution/src/repository/conf/log4j.properties b/modules/core/distribution/src/repository/conf/log4j.properties
index 8acd2f7f..2a47e957 100644
--- a/modules/core/distribution/src/repository/conf/log4j.properties
+++ b/modules/core/distribution/src/repository/conf/log4j.properties
@@ -240,4 +240,5 @@ log4j.logger.org.wso2.carbon.event.receiver.core.EventReceiverDeployer=WARN
log4j.logger.org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer=WARN
log4j.logger.org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer=WARN
log4j.logger.org.wso2.carbon.event.processor.core.EventProcessorDeployer=WARN
-log4j.logger.org.wso2.carbon.core.services.util.CarbonAuthenticationUtil=WARN
\ No newline at end of file
+log4j.logger.org.wso2.carbon.core.services.util.CarbonAuthenticationUtil=WARN
+log4j.logger.net.sf.ehcache=ERROR
\ No newline at end of file