Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7660

LogManager configuration "Number of Log Files" limited to 20

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Commons Log 5.1.6
    • Fix Version/s: Commons Log 5.1.8
    • Component/s: Commons
    • Labels:
      None

      Description

      The "Number of Log Files" configuration property for size-based log rotation is capped at 20 (or 21 including the current log file. This limitation comes from logback's FixedWindowRollingPolicy, but can be overridden in a subclass. I propose to override the FixedWindowRollingPolicy#getMaxWindowSize to return Integer.MAX_VALUE.

      cc Chetan Mehrotra

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsedding Julian Sedding
                Reporter:
                jsedding Julian Sedding
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: