Amarkanth created LOG4J2-98:
-------------------------------
Summary: Spring3 doesn't seem to work with SLF4J (log4j2)
Key: LOG4J2-98
URL: https://issues.apache.org/jira/browse/LOG4J2-98
Project: Log4j 2
Issue Type: Bug
Components: Flume Appender, SLF4J Bridge
Affects Versions: 2.0-beta2
Environment: Wicket, Spring 3, Log4j2, SLF4J, Tomcat 6.x
Reporter: Amarkanth
Fix For: 2.0-beta3
I tried switching from log4j1.2 to log4j2 inorder to use the "Flume Appender"
but i'm running into the following issue
- The "log4j.xml" doesn't seem to get picked up
- The application does start-up fine (but) there is no logging.
Prior to the migration, the logging worked fine.
I have the following config (pom.xml)
=============================
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.0-beta2</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.0-beta2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j.adapters</groupId>
<artifactId>slf4j-impl</artifactId>
<version>2.0-beta2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.0</version>
<scope>runtime</scope>
</dependency>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]