title: How to setup Spring Logs for Tomcat
body: <p>Working on Spring MVC and not having Spring logs has made it hard to debug. I have read few other articles on this problem and none seem to help me.
  <code>log4j.properties</code> is in <code>src</code> folder. <code>slf4j-api-1.5.11</code>, <code>slf4j-log4j12-1.5.11</code>, <code>slf4j-simple-1.5.11</code>, <code>commons-logging-1.1.jar</code> and <code>log4j-1.2.16.jar</code> jars are in the classpath.<br/>
  Log4j content is:</p>
  
  <pre><code>log4j.rootLogger=INFO, console
  
  
  # Console appender
  log4j.appender.console=org.apache.log4j.ConsoleAppender
  log4j.appender.console.layout=org.apache.log4j.PatternLayout
  log4j.appender.console.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
  log4j.throwableRenderer=org.apache.log4j.EnhancedThrowableRenderer
  </code></pre>
  
  <p>But I don't see any Spring logs in my console. </p>
  
  <blockquote>
    <p>Note: Using Spring 3.1</p>
  </blockquote>