title: Log4j logging info messages without logging warn messages
body: <p>I'm trying to log certain info messages onto a file but as soon as I run the application both warn and info messages are logged. Now, from what I've read from <a href="http://javapapers.com/log4j/log4j-levels/" rel="nofollow">this site</a>, you cannot log one without logging the other. Has anyone tried this before? If so, how did your properties file look like?</p>
  
  <p>My properties file looks like this:</p>
  
  <pre><code> ***** Set root logger level to INFO and its two appenders to stdout and R.
  log4j.rootLogger=INFO, stdout, R
  
  # ***** stdout is set to be a ConsoleAppender.
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  # ***** stdout uses PatternLayout.
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  # ***** Pattern to output the caller's file name and line number.
  log4j.appender.stdout.layout.ConversionPattern=%5p [%M has started] (%F:%L) - %m%n
  /
  # ***** R is set to be a RollingFileAppender.
  log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.R.DatePattern='.'yyyy-MM-dd-HH
  log4j.appender.R.File="folder where log will be saved"
  log4j.appender.R.layout.ConversionPattern=%5p [%m has started] %c{2}.[%x] (%F:%L) %d{yyyy-MM-dd HH:mm:ss} - %m%n
  
  # ***** R uses PatternLayout.
  log4j.appender.R.layout=org.apache.log4j.PatternLayout
  log4j.appender.R.layout.ConversionPattern=%5p [%m has started] %c{2}.[%x] (%F:%L) %d{yyyy-MM-dd HH:mm:ss} - %m%n
  </code></pre>