title: How slf4j works? No log getting created
body: <p>I've below code in Java 1.6:</p>
  
  <pre><code>import org.slf4j.Logger;
  import org.slf4j.LoggerFactory;
  
  private static Logger log = LoggerFactory.getLogger(myfile.class);
  </code></pre>
  
  <p>Now, I put the slf4j-api-1.6.4.jar &amp; slf4j-simple-1.6.4.jar in classpath &amp; code compiles fine but where is it logging all the information????</p>
  
  <p>I've log.info("test"); but its not creating any log file. I tried creating log4j.properties with below content:</p>
  
  <pre><code>log4j.appender.stdout=org.apache.log4j.RollingFileAppender
  log4j.appender.stdout.File=/var/abc.log
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  log4j.appender.stdout.layout.ConversionPattern=[%d{dd-MMM-yyyy HH:mm:ss}]%6p %c{1}:%L - %m%n
  log4j.appender.stdout.MaxFileSize=50000KB
  log4j.appender.stdout.MaxBackupIndex=200
  
  log4j.rootLogger=info, stdout
  </code></pre>
  
  <p>But its not working, I know above file is required for log4j but how does slf4j works?? Do I need to create any properties file similar to log4j?? If so, where do I need to put it?</p>
  
  <p>Thanks!</p>