title: Logback file error : no applicable action for [rollingPolicy], current pattern is [[configuration][appender][rollingPolicy]]
body: <p>I am using logging in akka to write logs to a file every thing is fine until  my log file stop writing logs maybe it become full so i read abou rolling policy so i can create additional files but i end up with lots of errors 
  here is my logback.xml file</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;configuration&gt;
  &lt;appender name="FILE" class="ch.qos.logback.core.FileAppender"&gt;
    &lt;File&gt;/media/sara/682AA7A32AA76D2E/study/ifkaarproject/articateInScala/log/akka.log&lt;/File&gt;
        &lt;rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"&gt;
        &lt;fileNamePattern&gt;/media/sara/682AA7A32AA76D2E/study/ifkaarproject/articateInScala/log/akka.%i.log&lt;/fileNamePattern&gt;
        &lt;minIndex&gt;1&lt;/minIndex&gt;
        &lt;maxIndex&gt;3&lt;/maxIndex&gt;
      &lt;/rollingPolicy&gt;
  
     &lt;triggeringPolicy class="com.bigbasket.dapp.utilities.SizeBasedTriggeringPolicy"&gt;
          &lt;maxFileSize&gt;5MB&lt;/maxFileSize&gt;
      &lt;/triggeringPolicy&gt;
  
       &lt;encoder&gt;
            &lt;pattern&gt;%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] %logger{0} %X{akkaSource} %msg%n&lt;/pattern&gt;
           &lt;/encoder&gt;
     &lt;/appender&gt;
  
      &lt;appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"&gt;
  
      &lt;encoder&gt;
        &lt;pattern&gt;%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{0} %X{akkaSource} -%msg%n&lt;/pattern&gt;
      &lt;/encoder&gt;
  
    &lt;/appender&gt;
  
     &lt;root level="info"&gt;
     &lt;appender-ref ref="FILE" /&gt;
      &lt;appender-ref ref="STDOUT"/&gt;
  
     &lt;/root&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>when i run my application in sbt following messages printed out </p>
  
  <pre class="lang-none prettyprint-override"><code>15:29:30,350 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
  15:29:30,350 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
  15:29:30,351 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/media/sara/682AA7A32AA76D2E/study/ifkaarproject/articateInScala/target/scala-2.11/classes/logback.xml]
  15:29:30,594 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
  15:29:30,595 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
  15:29:30,605 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
  15:29:30,675 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@4:83 - no applicable action for [rollingPolicy], current pattern is [[configuration][appender][rollingPolicy]]
  15:29:30,676 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@5:24 - no applicable action for [fileNamePattern], current pattern is [[configuration][appender][rollingPolicy][fileNamePattern]]
  15:29:30,676 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@6:17 - no applicable action for [minIndex], current pattern is [[configuration][appender][rollingPolicy][minIndex]]
  15:29:30,676 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@7:17 - no applicable action for [maxIndex], current pattern is [[configuration][appender][rollingPolicy][maxIndex]]
  15:29:30,677 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@10:85 - no applicable action for [triggeringPolicy], current pattern is [[configuration][appender][triggeringPolicy]]
  15:29:30,677 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@11:22 - no applicable action for [maxFileSize], current pattern is [[configuration][appender][triggeringPolicy][maxFileSize]]
  15:29:30,678 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
  15:29:30,728 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [/media/sara/682AA7A32AA76D2E/study/ifkaarproject/articateInScala/log/akka.log]
  15:29:30,729 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
  15:29:30,731 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
  15:29:30,734 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
  15:29:30,735 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
  15:29:30,735 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
  15:29:30,736 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
  15:29:30,736 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
  15:29:30,738 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6f2bba4f - Registering current configuration as safe fallback point
  </code></pre>
  
  <p>before this <code>&lt;rollingPolicy&gt; &lt;triggeringPolicy&gt;</code>every thing works fine but akka.log file has no capacity left so i had no choice to use this rollingPolicy thing please help me </p>