Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-188

Max rotated file count or period for PeriodicRotatingFileHandler

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.6.0.Final
    • None

      It would be nice if for the PeriodicRotatingFileHandler you could configure a maximum amount of rotated files or (/ and) a maximum period for rotated files, so that files that exceed this limit are automatically deleted, similar to the maxBackupIndex of the size-based rotating handlers.

      After this was added, it would of course also be nice to be able to configure this from WildFly configuration.

      Currently, you have to either use a size-based rotating or have some external facility that cleans up old log files.

            jperkins-rhn James Perkins
            Vampire0 Björn Kautler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: