title: What does threshold mean in Log4J?
body: <p>I have a <code>log4j</code> properties something like below. Everything that is logged in <code>TextProcessor.log</code> is something above WARN level. I don't understand the threshold that is set here to debug. Can someone explain what the threshold does?</p>
  <pre><code>log4j.logger.TextProcessor=warn,TextProcessor 
  
  log4j.appender.TextProcessor=org.apache.log4j.RollingFileAppender
  log4j.appender.TextProcessor.File=C:/project/logs/TextProcessor.log
  log4j.appender.TextProcessor.MaxFileSize=10MB
  log4j.appender.TextProcessor.MaxBackupIndex=10
  log4j.appender.TextProcessor.Threshold=debug
  log4j.appender.TextProcessor.layout=org.apache.log4j.PatternLayout
  log4j.appender.TextProcessor.layout.ConversionPattern=[%d] [%5p] (%F:%L) - %m%n
  </code></pre>