title: Log4j2 - Asynclogger Rolling File Appender not rolling daily per hour
body: <p>This is my log4j2.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Configuration status="OFF"&gt;
  
      &lt;Appenders&gt;
              &lt;!-- Generate STDOUT in console --&gt;
              &lt;Console name="CONSOLE" target="SYSTEM_OUT"&gt;
                      &lt;PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n" /&gt;
              &lt;/Console&gt;
  
              &lt;!-- Generate rolling log for router with per hour interval policy --&gt;
              &lt;RollingFile name="RouterRollingFile" fileName="/apps/bea/mb-logs/router.log"
                       immediateFlush="false" filePattern="/apps/bea/mb-logs/router.%d{yyyy-MM-dd-HH}-%i.log"&gt;
                      &lt;PatternLayout&gt;
                              &lt;pattern&gt;%d{yyyy-MM-dd HH:mm:ss} %5p [%t] (%F:%L) - %m%n&lt;/pattern&gt;
                      &lt;/PatternLayout&gt;
                      &lt;Policies&gt;
                              &lt;TimeBasedTriggeringPolicy interval="1" modulate="true"/&gt;
                      &lt;/Policies&gt;
                      &lt;!-- &lt;DefaultRolloverStrategy fileIndex="max" max="24" /&gt; --&gt;
              &lt;/RollingFile&gt;
      &lt;/Appenders&gt;
  
      &lt;Loggers&gt;
              &lt;AsyncLogger name="com.tritronik.mb.router" level="info"
                      additivity="false" includeLocation="true"&gt;
                      &lt;AppenderRef ref="RouterRollingFile" /&gt;
              &lt;/AsyncLogger&gt;
              &lt;!-- &lt;Root level="info"&gt;
                      &lt;appender-ref ref="CONSOLE" /&gt;
              &lt;/Root&gt; --&gt;
      &lt;/Loggers&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to achieve daily rolling file with per hour rolling, so far I haven't been able to produce the log with proper format, and as I remember, the interval parameter seems like to increment by day not hour.</p>
  
  <p><strong>I want to achieve this</strong>:</p>
  
  <p>router.log --> currently written file</p>
  
  <p>router.log.2014-06-20-00</p>
  
  <p>router.log.2014-06-20-01</p>
  
  <p>...</p>
  
  <p>router.log.2014-06-20-23</p>
  
  <p>router.log.2014-06-21-00</p>
  
  <p>...</p>
  
  <p><strong>Instead I achieve this</strong>:</p>
  
  <p>router.log</p>
  
  <p>router.log.2014-06-20-1 --> One day worth of logs</p>
  
  <p>I've been able to do this using usual log4j, but the io performance goes down and force me to use log4j2, but I stumble into this problem.</p>
  
  <p>Where do I have it wrong? Or is it true that log4j2 doesn't support this yet?</p>
  
  <p>Thank you</p>