[jboss-jira] [JBoss JIRA] (WFCORE-482) Add log4j2 support for WildFly
James Perkins (JIRA)
issues at jboss.org
Fri Sep 30 13:52:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13301248#comment-13301248 ]
James Perkins commented on WFCORE-482:
--------------------------------------
This is something I've started working on. Currently I'm just implementing a log4j2 {{LoggerContextFactory}} which uses a {{org.jboss.logmanager.Logger}}. If anyone has some example uses cases of how they use log4j2 that would be helpful.
Some questions that would be helpful to know the answer to:
# Do you just use the log4j2-api?
# Do you use a custom {{LoggerContextFactory}}?
# Are you using system properties or a properties file to configure log4j2?
# Are you using the log4j-web dependency?
Any other comments on how you're using log4j2 in WildFly or any container would be helpful.
Thanks in advance!
> Add log4j2 support for WildFly
> ------------------------------
>
> Key: WFCORE-482
> URL: https://issues.jboss.org/browse/WFCORE-482
> Project: WildFly Core
> Issue Type: Task
> Components: Logging
> Environment: Spring 3, Hibernate, Wicket, JBoss AS7
> Reporter: Amarkanth Ranganamayna
> Assignee: James Perkins
> Priority: Optional
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list