Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BC3217B60 for ; Mon, 20 Apr 2015 07:12:17 +0000 (UTC) Received: (qmail 57566 invoked by uid 500); 20 Apr 2015 07:11:59 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 57506 invoked by uid 500); 20 Apr 2015 07:11:59 -0000 Mailing-List: contact issues-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 issues@struts.apache.org Received: (qmail 57495 invoked by uid 99); 20 Apr 2015 07:11:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2015 07:11:59 +0000 Date: Mon, 20 Apr 2015 07:11:59 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4492) Add support for Log4J2 as a struts and xwork logging backend MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502452#comment-14502452 ] Lukasz Lenart commented on WW-4492: ----------------------------------- I have noticed your changes, looks osm! And it inspired me to do a small refactoring of this area :) > Add support for Log4J2 as a struts and xwork logging backend > ------------------------------------------------------------ > > Key: WW-4492 > URL: https://issues.apache.org/jira/browse/WW-4492 > Project: Struts 2 > Issue Type: New Feature > Components: Integration > Reporter: Johannes Geppert > Assignee: Johannes Geppert > Priority: Minor > Labels: log4j2, logging, struts2 > Fix For: 2.3.24 > > > Struts2 has it own logging layer which can be configured to use commons, jdk or slf4j as a logging backend. > Log4J2 provides similar to Slf4J an own logging api. > A new Log4J2 implementation should be enabled in the same way like the Slf4J logger implementation. > {{ > -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory > }} -- This message was sent by Atlassian JIRA (v6.3.4#6332)