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 A6EDC18AFA for ; Thu, 11 Jun 2015 19:16:49 +0000 (UTC) Received: (qmail 57549 invoked by uid 500); 11 Jun 2015 19:16:39 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 57368 invoked by uid 500); 11 Jun 2015 19:16:39 -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 56959 invoked by uid 99); 11 Jun 2015 19:16:39 -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; Thu, 11 Jun 2015 19:16:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 43708E05D6; Thu, 11 Jun 2015 19:16:39 +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: Thu, 11 Jun 2015 19:17:05 -0000 Message-Id: <667843defd624ebe888980af77414405@git.apache.org> In-Reply-To: <313deeaf0a3943d5bd3d59b3d025953e@git.apache.org> References: <313deeaf0a3943d5bd3d59b3d025953e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [28/50] [abbrv] struts-examples 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 provided apps Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/d10ec541 Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/d10ec541 Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/d10ec541 Branch: refs/heads/master Commit: d10ec54114b4ea657612a9199cc3a5edfb0e91be Parents: 67d0594 Author: Johannes Geppert Authored: Mon May 25 21:42:08 2015 +0200 Committer: Johannes Geppert Committed: Mon May 25 21:42:08 2015 +0200 ---------------------------------------------------------------------- pom.xml | 8 ++++++++ src/main/resources/log4j2.xml | 15 +++++++++++++++ 2 files changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts-examples/blob/d10ec541/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0b395cc..07f0166 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,14 @@ 2.0 provided + + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + + ${project.groupId} struts2-junit-plugin http://git-wip-us.apache.org/repos/asf/struts-examples/blob/d10ec541/src/main/resources/log4j2.xml ---------------------------------------------------------------------- diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml new file mode 100644 index 0000000..abe3dde --- /dev/null +++ b/src/main/resources/log4j2.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file