You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/06/18 06:12:35 UTC

[struts] 01/04: Fixes logging in Showcase app

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

lukaszlenart pushed a commit to branch WW-5190-match-action-proxy
in repository https://gitbox.apache.org/repos/asf/struts.git

commit a6a4529503f1e733feeb322f47c3473339eeee60
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sat Jun 18 07:25:26 2022 +0200

    Fixes logging in Showcase app
---
 apps/showcase/pom.xml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/apps/showcase/pom.xml b/apps/showcase/pom.xml
index 84c4e32fc..709f2b630 100644
--- a/apps/showcase/pom.xml
+++ b/apps/showcase/pom.xml
@@ -121,6 +121,11 @@
             <artifactId>log4j-jcl</artifactId>
             <version>${log4j2.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-slf4j-impl</artifactId>
+            <version>${log4j2.version}</version>
+        </dependency>
 
         <dependency>
             <groupId>opensymphony</groupId>
@@ -191,10 +196,6 @@
                     <stopKey>CTRL+C</stopKey>
                     <stopPort>8999</stopPort>
                     <systemProperties>
-                        <systemProperty>
-                            <name>log4j.configuration</name>
-                            <value>file:${basedir}/src/main/resources/log4j2.xml</value>
-                        </systemProperty>
                         <systemProperty>
                             <name>slf4j</name>
                             <value>false</value>