I'm using LOG4j & SLF4j.

I'm trying to separate each logging messages into a different files (info.log, warning.log and error.log).

For example, I use **log4j.appender.infoFile.Threshold=INFO** to filter the DEBUG messages but I don't know how to exclude also the WARN and ERROR messages. I just wanna write the INFO messages. The same thing with warning.log.

```
# Direct log messages to INFO log file
  log4j.appender.infoFile=org.apache.log4j.RollingFileAppender
  log4j.appender.infoFile.File=info.log 
  log4j.appender.infoFile.MaxFileSize=1MB
  log4j.appender.infoFile.MaxBackupIndex=1
  log4j.appender.infoFile.append=false 
  log4j.appender.infoFile.layout=org.apache.log4j.PatternLayout
  log4j.appender.infoFile.Threshold=INFO

```