roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject roller git commit: Add missing log4j-core dependency and reduce Log4j2 logging to WARN level for Struts2.
Date Sat, 14 Oct 2017 13:33:18 GMT
Repository: roller
Updated Branches:
  refs/heads/roller-5.2.0 079f76b8e -> c68e9ef6d


Add missing log4j-core dependency and reduce Log4j2 logging to WARN level for Struts2.


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

Branch: refs/heads/roller-5.2.0
Commit: c68e9ef6d484be254775a7e59f3d14895b75083e
Parents: 079f76b
Author: Dave Johnson <snoopdave@gmail.com>
Authored: Sat Oct 14 09:33:15 2017 -0400
Committer: Dave Johnson <snoopdave@gmail.com>
Committed: Sat Oct 14 09:33:15 2017 -0400

----------------------------------------------------------------------
 app/pom.xml                       | 8 +++++++-
 app/src/main/resources/log4j2.xml | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/roller/blob/c68e9ef6/app/pom.xml
----------------------------------------------------------------------
diff --git a/app/pom.xml b/app/pom.xml
index 1aa7903..4739e4c 100644
--- a/app/pom.xml
+++ b/app/pom.xml
@@ -45,6 +45,7 @@ limitations under the License.
         <jsp-api.version>2.2</jsp-api.version>
         <jstl.version>1.2</jstl.version>
         <log4j.version>1.2.17</log4j.version>
+        <log4j2.version>2.8.2</log4j2.version>
         <lucene.version>4.10.4</lucene.version>
         <oauth-core.version>20100527</oauth-core.version>
         <maven-war.version>3.1.0</maven-war.version>
@@ -197,7 +198,6 @@ limitations under the License.
             <version>${lucene.version}</version>
         </dependency>
 
-
         <dependency>
             <groupId>log4j</groupId>
             <artifactId>log4j</artifactId>
@@ -205,6 +205,12 @@ limitations under the License.
         </dependency>
 
         <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <version>${log4j2.version}</version>
+        </dependency>
+
+        <dependency>
             <groupId>commons-validator</groupId>
             <artifactId>commons-validator</artifactId>
             <version>${commons-validator.version}</version>

http://git-wip-us.apache.org/repos/asf/roller/blob/c68e9ef6/app/src/main/resources/log4j2.xml
----------------------------------------------------------------------
diff --git a/app/src/main/resources/log4j2.xml b/app/src/main/resources/log4j2.xml
index 342a0f8..6fcf939 100644
--- a/app/src/main/resources/log4j2.xml
+++ b/app/src/main/resources/log4j2.xml
@@ -25,7 +25,7 @@ limitations under the License.
         <Root level="error">
             <AppenderRef ref="Console"/>
         </Root>
-        <Logger name="org.apache.struts2" level="trace">
+        <Logger name="org.apache.struts2" level="warn">
             <AppenderRef ref="Console"/>
         </Logger>
     </Loggers>


Mime
View raw message