protected final transient Log log = LogFactory.getLog(getClass());
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="[mod-spring] %p [%t] %c{1}.%M(%L) | %m%n"/>
</layout>
</appender>
<logger name="net.sf.ehcache">
<level value="ERROR"/>
</logger>
<!-- Suppress success logging from InteractiveAuthenticationSuccessEvent -->
<logger name="org.springframework.security">
<level value="ERROR"/>
</logger>
<logger name="org.apache">
<level value="WARN"/>
</logger>
<logger name="org.apache.velocity">
<level value="FATAL"/>
</logger>
<logger name="org.hibernate">
<level value="WARN"/>
</logger>
<!--logger name="org.hibernate.SQL">
<level value="DEBUG"/>
</logger-->
<logger name="org.springframework">
<level value="WARN"/>
</logger>
<!-- Suppress warnings from Commons Validator -->
<logger name="org.apache.commons.validator.ValidatorResources">
<level value="ERROR"/>
</logger>
<!-- Suppress invalid warning messages from JSF -->
<logger name="org.apache.myfaces.shared_impl.renderkit.html">
<level value="ERROR"/>
</logger>
<logger name="org.appfuse">
<level value="INFO"/>
</logger>
<logger name="org.sonatype.mavenbook">
<level value="DEBUG"/>
</logger>
<root>
<level value="WARN"/>
<appender-ref ref="CONSOLE"/>
</root>
</log4j:configuration>