[ 
https://issues.apache.org/jira/browse/TILES-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080077#comment-13080077
 ] 

Antonio Petrelli commented on TILES-535:
----------------------------------------

Tiles 2.2.x uses SLF4j instead of commons-logging. In its POM, however, an 
implementation of SLF4J is not present, only an optional SLF4J-to-jJDK 1.4 
logger.
It is up to you to include the correct implementation of SLF4J, in your case it 
is slf4j-log4j12 (I suppose that you are using Log4j 1.2.x).

> Strange behavior of log4j with Apache Tiles 2.2.2
> -------------------------------------------------
>
>                 Key: TILES-535
>                 URL: https://issues.apache.org/jira/browse/TILES-535
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support), tiles-servlet
>    Affects Versions: 2.2.2
>         Environment: Linux and Windows
>            Reporter: marioosh
>            Priority: Minor
>
> I'm developing web-app with Spring MVC + Apache Tiles 2, but when i use Tiles 
> version 2.2.2 log4j.xml is ignored. In 2.1.4 version everything is ok.
> log4j version 1.2.16
> <!-- 2.2.2 = problems with log4j -->
> <dependency>
>       <groupId>org.apache.tiles</groupId>
>       <artifactId>tiles-jsp</artifactId>
>       <version>2.2.2</version>
> </dependency>
> <dependency>
>       <groupId>org.apache.tiles</groupId>
>       <artifactId>tiles-template</artifactId>
>       <version>2.2.2</version>
> </dependency>
> <!-- no problems with log4j -->
> <dependency>
>     <groupId>org.apache.tiles</groupId>
>     <artifactId>com.springsource.org.apache.tiles.jsp</artifactId>
>     <version>2.1.4</version>
> </dependency>
> <dependency>
>     <groupId>org.apache.tiles</groupId>
>     <artifactId>com.springsource.org.apache.tiles.servlet</artifactId>
>     <version>2.1.4</version>
> </dependency>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to