title: How to turn off Spring 3 debug logging?
body: <p>I would like to turn off log4j logging for Spring 3.1 while leaving things on debug for my own code.</p>
  
  <p>I tried sticking this line into my log4j.properties:</p>
  
  <pre><code>log4j.category.org.springframework = WARN 
  </code></pre>
  
  <p>To get this:</p>
  
  <pre><code># Root Logger Setup:  Includes the level of reporting and appenders -&gt; where
  #                     log messages get sent                                              
  log4j.rootLogger                            = DEBUG,ca,fa
  
  log4j.category.org.springframework = WARN
  
  #ca - Console Appender - Send messages to the console
  log4j.appender.ca                          = org.apache.log4j.ConsoleAppender
  log4j.appender.ca.layout                   = org.apache.log4j.PatternLayout
  log4j.appender.ca.layout.ConversionPattern = [acme]: [%-5p] - %d{yyyy-MMM-dd HH:mm:ss} -  %c{1}:%M(): %m%n
  
  
  
  #fa - File Appender - Send messages to a log file
  log4j.appender.fa                            = org.apache.log4j.RollingFileAppender
  log4j.appender.fa.File                       = acme.log
  log4j.appender.fa.MaxFileSize                = 100KB
  log4j.appender.fa.MaxBackupIndex             = 10
  log4j.appender.fa.Threshold                  = DEBUG
  log4j.appender.fa.layout                     = org.apache.log4j.PatternLayout
  log4j.appender.fa.layout.ConversionPattern   = [%-5p] - %d{yyyy-MMM-dd HH:mm:ss} -  %c{2}:%M(): %m%n 
  </code></pre>
  
  <p>No luck in shutting off the debug output from Spring though.</p>
  
  <p>Thanks in advance for any help</p>
  
  <p>Steve</p>