Repository: struts-site
Updated Branches:
  refs/heads/master ca54bb828 -> f2d8b61c3


Adds info how to avoid a clash of Log4j2 libs

Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/f2d8b61c
Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/f2d8b61c
Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/f2d8b61c

Branch: refs/heads/master
Commit: f2d8b61c30201fb575bfd710f9c68e44aa7df375
Parents: ca54bb8
Author: Lukasz Lenart <[email protected]>
Authored: Tue Jun 13 07:43:03 2017 +0200
Committer: GitHub <[email protected]>
Committed: Tue Jun 13 07:43:03 2017 +0200

----------------------------------------------------------------------
 .../how-to-create-a-struts2-web-application.md                | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-site/blob/f2d8b61c/source/getting-started/how-to-create-a-struts2-web-application.md
----------------------------------------------------------------------
diff --git a/source/getting-started/how-to-create-a-struts2-web-application.md 
b/source/getting-started/how-to-create-a-struts2-web-application.md
index e599b80..9d2655e 100644
--- a/source/getting-started/how-to-create-a-struts2-web-application.md
+++ b/source/getting-started/how-to-create-a-struts2-web-application.md
@@ -143,9 +143,14 @@ To see what's happening under the hood, the example 
application for this tutoria
     <artifactId>log4j-core</artifactId>
     <version>2.8.2</version>
 </dependency>
+<dependency>
+    <groupId>org.apache.logging.log4j</groupId>
+    <artifactId>log4j-api</artifactId>
+    <version>2.8.2</version>
+</dependency>
 ```
 
-Setup a `log4j2.xml` configuration in the `src/main/resources` folder which 
contains the following
+Using both `log4j-core` and `log4j-api` allows to use the latest version of 
Log4j2 without a clash with version provided by the framework. Setup a 
`log4j2.xml` configuration in the `src/main/resources` folder which contains 
the following
 
 **log4j2.xml**
 

Reply via email to