Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-772

Both time and size based rolling for logs

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • build
    • None

    Description

      Right now, logback configuration has rollingPolicy and triggeringPolicy defined separately, which is causing the logs not to roll on time based.

      To roll files based on both, we should be using timeBasedFileNamingAndTriggeringPolicy.

      Reference : http://stackoverflow.com/questions/2602415/rolling-logback-logs-on-filesize-and-time

      Attachments

        1. LENS-772.2.patch
          10 kB
          Amareshwari Sriramadasu
        2. LENS-772.patch
          5 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: