struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4492) Add support for Log4J2 as a struts and xwork logging backend
Date Mon, 20 Apr 2015 07:11:59 GMT

    [ 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)

Mime
View raw message