From 6c135790490fa19204349f70d3f73bd3ab726fd2 Mon Sep 17 00:00:00 2001
From: deepthi-mantena <96411257+deepthi-mantena@users.noreply.github.com>
Date: Thu, 20 Jun 2024 14:49:54 +0530
Subject: [PATCH] Deepthi M|BAH-3977|Updated log4j2.xml file and removed log4j
listener as its no longer required with log4j2. (#141)
---
bahmni-emr/resources/web.xml | 4 ----
bahmni-erp-connect/resources/log4j2.xml | 16 ++++++++--------
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/bahmni-emr/resources/web.xml b/bahmni-emr/resources/web.xml
index b88e08d1..3766befc 100644
--- a/bahmni-emr/resources/web.xml
+++ b/bahmni-emr/resources/web.xml
@@ -80,10 +80,6 @@
org.springframework.web.util.IntrospectorCleanupListener
-
- org.springframework.web.util.Log4jConfigListener
-
-
org.openmrs.web.Listener
diff --git a/bahmni-erp-connect/resources/log4j2.xml b/bahmni-erp-connect/resources/log4j2.xml
index f0a4251f..809fda91 100755
--- a/bahmni-erp-connect/resources/log4j2.xml
+++ b/bahmni-erp-connect/resources/log4j2.xml
@@ -1,9 +1,9 @@
-
-
+
+ fileName="/var/log/bahmni-erp-connect/bahmni-erp-connect.log"
+ filePattern="/var/log/bahmni-erp-connect/bahmni-erp-connect-%i.log.gz">
@@ -13,9 +13,9 @@
-
+
+
+
+
-
-
-
-
+
\ No newline at end of file