]
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