0 Replies Latest reply on Nov 9, 2012 11:05 AM by rick.janda

    periodic-rotating-file-handler does not rotate every day

    rick.janda

      Hello,

       

      I have seven logfiles configured in my standalone.xml, all with the same daily file rolling:

       

      <periodic-rotating-file-handler name="VPC_WARN">

                      <level name="WARN"/>

                      <formatter>

                          <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) [Call-ID: %X{CALL-ID}] %s%E%n"/>

                      </formatter>

                      <file relative-to="vpc.log.directory" path="vpc.log"/>

                      <suffix value=".yyyy-MM-dd"/>

                      <append value="true"/>

      </periodic-rotating-file-handler>

       

      for some reason, two of the files are not rotated correctly every day, only sporadically. Logs of several days end up in the same file.

       

      Has anybody an idea, what I'm making wrong?

      Or is it just a bug?

       

      Regards,

      Rick