Return-Path: X-Original-To: apmail-struts-commits-archive@minotaur.apache.org Delivered-To: apmail-struts-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54DCB183F5 for ; Tue, 26 May 2015 17:22:02 +0000 (UTC) Received: (qmail 82682 invoked by uid 500); 26 May 2015 17:21:58 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 82578 invoked by uid 500); 26 May 2015 17:21:58 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 82085 invoked by uid 99); 26 May 2015 17:21:58 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 17:21:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 45E6EE0A1E; Tue, 26 May 2015 17:21:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jogep@apache.org To: commits@struts.apache.org Date: Tue, 26 May 2015 17:22:07 -0000 Message-Id: <8309390e7c4c444da60145eed60233f6@git.apache.org> In-Reply-To: <4a607f70596d46369ecce2aa00669779@git.apache.org> References: <4a607f70596d46369ecce2aa00669779@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/15] struts git commit: WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one - Use log4j2 in all archetypes Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/93a307b9 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/93a307b9 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/93a307b9 Branch: refs/heads/master Commit: 93a307b95ea11dcebbd20e6ed205fb2384c17105 Parents: 88649ff Author: Johannes Geppert Authored: Mon May 25 21:47:03 2015 +0200 Committer: Johannes Geppert Committed: Mon May 25 21:47:03 2015 +0200 ---------------------------------------------------------------------- .../main/resources/archetype-resources/pom.xml | 5 ----- .../main/resources/archetype-resources/pom.xml | 6 ------ .../main/resources/archetype-resources/pom.xml | 5 ----- .../main/resources/archetype-resources/pom.xml | 6 ++++++ .../src/main/resources/log4j2.xml | 16 ++++++++++++++++ .../main/resources/archetype-resources/pom.xml | 13 ++++--------- .../src/main/resources/log4j.properties | 20 -------------------- .../src/main/resources/log4j2.xml | 17 +++++++++++++++++ 8 files changed, 43 insertions(+), 45 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml index b008115..ff31ad8 100644 --- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml @@ -49,11 +49,6 @@ org.apache.logging.log4j - log4j-api - \${log4j2.version} - - - org.apache.logging.log4j log4j-core \${log4j2.version} http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml index 87883a7..e6f625c 100644 --- a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml @@ -35,12 +35,6 @@ test - - - org.apache.logging.log4j - log4j-api - \${log4j2.version} - org.apache.logging.log4j log4j-core http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml index ebfb0de..5844509 100644 --- a/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml @@ -43,11 +43,6 @@ org.apache.logging.log4j - log4j-api - \${log4j2.version} - - - org.apache.logging.log4j log4j-core \${log4j2.version} http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml index c254752..62a0e8f 100644 --- a/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml @@ -92,6 +92,12 @@ provided + + org.apache.logging.log4j + log4j-core + \${log4j2.version} + + http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/src/main/resources/log4j2.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/src/main/resources/log4j2.xml b/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/src/main/resources/log4j2.xml new file mode 100644 index 0000000..6d27d12 --- /dev/null +++ b/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/src/main/resources/log4j2.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml index 007a2d6..6ab6329 100644 --- a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml @@ -70,16 +70,11 @@ 1.3 + - commons-logging - commons-logging - 1.1.3 - - - - log4j - log4j - 1.2.17 + org.apache.logging.log4j + log4j-core + \${log4j2.version} http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j.properties b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j.properties deleted file mode 100644 index cfd02d8..0000000 --- a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j.properties +++ /dev/null @@ -1,20 +0,0 @@ - -log4j.rootLogger = DEBUG, stdout - - -log4j.category.com.opensymphony.sitemesh=DEBUG -log4j.category.org.apache.struts2=INFO -log4j.category.org.apache=INFO -log4j.category.catalia=INFO - - - - -log4j.appender.stdout = org.apache.log4j.ConsoleAppender -log4j.appender.stdout.Threshold = DEBUG -log4j.appender.stdout.Target = System.out -log4j.appender.stdout.layout = org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern = %d{ISO8601} %-5p [%F:%L] : %m%n - - - http://git-wip-us.apache.org/repos/asf/struts/blob/93a307b9/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j2.xml ---------------------------------------------------------------------- diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j2.xml b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j2.xml new file mode 100644 index 0000000..d0cdc6d --- /dev/null +++ b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/log4j2.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file