title: No applicable action for totalSizeCap in logback spring boot logging
body: <p>I am trying to limit maximum number of log files using "totalSizeCap" element from logback. I am using spring boot application, so included logback as follows : </p>
  
  <p>logback.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration debug="true"&gt;
      &lt;include resource="log4j/logback-${spring.profiles.active}.xml"/&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>log4j/logback-DEV.xml</p>
  
  <pre><code>included&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} [%thread] %-5level %logger{36} - %msg%n
              &lt;/Pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
          &lt;file&gt;/tmp//log/log.out&lt;/file&gt;
          &lt;rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"&gt;
              &lt;fileNamePattern&gt;/tmp/log/log_%d{yyyy-MM-dd}.%i.out&lt;/fileNamePattern&gt;
              &lt;maxFileSize&gt;10MB&lt;/maxFileSize&gt;
              &lt;maxHistory&gt;1&lt;/maxHistory&gt;
              &lt;totalSizeCap&gt;2MB&lt;/totalSizeCap&gt;
          &lt;/rollingPolicy&gt;
          &lt;encoder&gt;
              &lt;charset&gt;UTF-8&lt;/charset&gt;
              &lt;pattern&gt;%d %-4relative [%thread] %-5level %logger{35} - %msg%n
              &lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;root level="INFO"&gt;
          &lt;appender-ref ref="STDOUT" /&gt;
          &lt;appender-ref ref="FILE" /&gt;
      &lt;/root&gt;
  
      &lt;logger name="com.company" level="INFO" /&gt;
      &lt;logger name="org.springframework" level="ERROR" /&gt;
  
  &lt;/included&gt;
  </code></pre>
  
  <hr>
  
  <p><em>ERROR</em></p>
  
  <pre><code>ERROR in ch.qos.logback.core.joran.spi.Interpreter@17:27 - no applicable action for [totalSizeCap], current ElementPath  is [[configuration][appender][rollingPolicy][totalSizeCap]]
  </code></pre>
  
  <p>How I limit the log files?</p>