2 Replies Latest reply on Jan 12, 2015 5:01 PM by Bharathi Selvan Thirupathi

    periodic-rotating-file-handler is not rotating on daily basis

    Bharathi Selvan Thirupathi Newbie

      Hi ,

       

      I am using jboss-as-7.1.1.Final. Periodic Rotating File Handler is not rotating on daily basis. Am rebooting Jboss server on daily basis. If am not rebooting my server.log is generated properly.

      Below is my Periodic Rotating File Handler,

       

      <periodic-rotating-file-handler name="FILE" autoflush="true">

                      <formatter>

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

                      </formatter>

                      <file relative-to="jboss.server.log.dir" path="server.log"/>

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

                      <append value="true"/>

      </periodic-rotating-file-handler>

       

      Please guide me how to solve this.

       

      Thanks,

      Bharathi