Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-246

Wildfly 16 incorrect working log zip rotator

    XMLWordPrintable

Details

    Description

      My logging profile configuration is:

      1)

      <periodic-size-rotating-file-handler name="FILE" rotate-on-boot="false" autoflush="true">
      <level name="ALL"/>
      <file relative-to="jboss.server.log.dir" path="corp.log"/>
      <rotate-size value="300k"/>
      <max-backup-index value="10000"/>
      <suffix value=".yyyy-MM-dd.zip"/>
      <append value="true"/>
      </periodic-size-rotating-file-handler>
      

      File corp.log increase it size permanently, even after new corp.log.yyyy-MM-dd.N.zip file created. Due it, each .zip archive contain same corp.log with maximum current size.

      2)

      <periodic-size-rotating-file-handler name="FILE2" rotate-on-boot="true" autoflush="true">
      <level name="ALL"/>
      <file relative-to="jboss.server.log.dir" path="corp.log"/>
      <rotate-size value="300k"/>
      <max-backup-index value="10000"/>
      <suffix value=".yyyy-MM-dd.zip"/>
      <append value="false"/>
      </periodic-size-rotating-file-handler>
      

      All work as expected, except each time corp.log reach 300k, appear pair .zip files with same content?

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              idmitrieffv@gmail.com Igor Dmitriev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: