How to enable logs for sitemesh

Posted by atomsfat on Stack Overflow See other posts from Stack Overflow or by atomsfat
Published on 2010-05-18T14:58:14Z Indexed on 2010/05/18 15:01 UTC
Read the original article Hit count: 396

Filed under:
|
|
|

Is ther any form to enable logs for sitemesh ? I already put this in the log4j configuration but it doesn't work

<!-- Appenders -->
<appender name="console" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out" />
    <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%-5p: %c - %m%n" />
    </layout>
</appender>



        <logger name="com.opensymphony">
    <level value="debug"/>
</logger>

<logger name="org.springframework.beans">
    <level value="warn" />
</logger>

<logger name="org.springframework.binding">
    <level value="debug" />
</logger>

<logger name="org.springframework.jdbc">
    <level value="warn" />
</logger>

<logger name="org.springframework.transaction">
    <level value="warn" />
</logger>

<logger name="org.springframework.orm">
    <level value="warn" />
</logger>

<logger name="org.springframework.web">
    <level value="debug" />
</logger>

<logger name="org.springframework.webflow">
    <level value="debug" />
</logger>

<!-- Root Logger -->
<root>
    <priority value="warn" />
    <appender-ref ref="console" />
</root>

© Stack Overflow or respective owner

Related posts about sitemesh

Related posts about logs