[jboss-jira] [JBoss JIRA] (AS7-5829) JBoss AS7 and Log4j2

James Perkins (JIRA) jira-events at lists.jboss.org
Tue Oct 23 20:09:02 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728729#comment-12728729 ] 

James Perkins commented on AS7-5829:
------------------------------------

It might work if you exclude the servers version of log4j with a {{jboss-deployment-structure.xml}} https://docs.jboss.org/author/display/AS71/How+To#HowTo-HowdoIuselog4j.propertiesorlog4j.xmlinsteadofusingtheloggingsubsystemconfiguration%3F.

We haven't looked into supported log4j2 yet. We'll have to look at the backwards compatibility of it and go from there. I'll leave this open as a reminder to look into it.
                
> JBoss AS7 and Log4j2
> --------------------
>
>                 Key: AS7-5829
>                 URL: https://issues.jboss.org/browse/AS7-5829
>             Project: Application Server 7
>          Issue Type: Clarification
>          Components: Logging
>    Affects Versions: 7.1.1.Final
>         Environment: Spring 3, Hibernate, Wicket, JBoss AS7
>            Reporter: Amarkanth Ranganamayna
>            Assignee: James Perkins
>
> I am trying to use Flume Appender which comes with Log4j2 (log4j 1.x doesn't support flume appender) (AND) inorder to acheive this, I am looking at how to configure JBoss AS7 to use log4j2.
> Looks like Jboss AS7 by default use log4j 1.x
> Are you guys already working on using log4j2 ?
> If NOT, can you please suggest how to configure Jboss AS7 such that it picks up "log4j2.xml" file and doesn't use its own logging.
> Thanks,
> Amar

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list