You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/10/15 19:16:03 UTC

[jira] [Closed] (LOG4J2-98) Spring3 doesn't seem to work with SLF4J (log4j2)

     [ https://issues.apache.org/jira/browse/LOG4J2-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers closed LOG4J2-98.
-----------------------------


Thanks. Please follow up on the dev list and let us know how the Flume Appender and the rest of Log4j 2 is working for you.
                
> 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
>            Assignee: Ralph Goers
>
> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org