title: Configuring simplelogger (slf4j) on Tomcat
body: <p>I have a tomcat 7 running on a windows machine as a service. there's a rolling deployment scheme active, where if I drop a war file in the tomcat/webapps folder, it gets unpacked and deployed automatically. My war file looks like this:</p>
  
  <pre><code>MyApp.war
  +- META-INF
  +- WEB-INF
     +- classes
         + com.company... (the actual class files)
         +-simplelogger.properties
     +- lib
         +- slf4j-api-1.7.12
         +- slf4j-simple-1.7.12
     +- web.xml
  </code></pre>
  
  <p>In my simplelogger.properties I have this output property:</p>
  
  <blockquote>
    <p>org.slf4j.simpleLogger.logFile=System.out</p>
  </blockquote>
  
  <p>A previous version of the war used <code>system.out.println()</code> to do "logging", and everything that was wirrten to sysout was appended to the file <code>tomcat/logs/stdout.log</code>, so I assume this is standard tomcat behaviour. </p>
  
  <p>Unfortunately, my new setup doesn't work. The logging does not appear in the stdout.log file. It does work fine when I run the war in eclipse with the maven/tomcat plugin.</p>
  
  <p>What configuration details have I missed? 
  I looked in the <code>tomcat/conf</code> folder for anything that deals with logging and I found the following:</p>
  
  <ul>
  <li>In catalina.properties: nothing about logging.</li>
  <li>In server.xml: nothing about logging</li>
  <li>logging.properties: I see alot of settings, but nothing related to sysout or stdout.logs. For reference, here is the <a href="http://pastebin.com/5bJ5JjQP" rel="nofollow">full file</a>. </li>
  </ul>