You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Johannes Geppert (JIRA)" <ji...@apache.org> on 2015/04/18 12:28:58 UTC

[jira] [Created] (WW-4492) Add support for Log4J2 as a struts and xwork logging backend

Johannes Geppert created WW-4492:
------------------------------------

             Summary: 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
             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)