title: logback deletes the logs before the MaxHistory during hourly rollback
body: <p>I use the below appender and I could see the roll back occurs at once in every hour.</p>
  
  <p>But I mentioned the <code>&lt;maxHistory&gt;</code> as 10 days. But I could see the logs are automatically deleted by logback at the end of every day.</p>
  
  <p>But the expectation is to keep the log files for maximum 10 days.</p>
  
  <pre><code>&lt;appender name="TIME_BASED_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
      &lt;file&gt;c:/logs/timeBasedlogFile.log&lt;/file&gt;
      &lt;rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;        
          &lt;fileNamePattern&gt;c:/logs/timeBasedlogFile.%d{yyyy-MM-dd_HH}.log&lt;/fileNamePattern&gt;
          &lt;maxHistory&gt;10&lt;/maxHistory&gt;
      &lt;/rollingPolicy&gt;
      &lt;encoder&gt;
          &lt;pattern&gt;%relative [%thread] %-5level %logger{35} - %msg%n&lt;/pattern&gt;
      &lt;/encoder&gt;
  &lt;/appender&gt; 
  </code></pre>
  
  <p>If I use daily rollover then I could see the the rolled over logs are maintained for the number of days mentioned in <code>&lt;maxHistory&gt;</code></p>
  
  <p>Does the maxHistory work only for daily rollover?</p>