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

Both time and size based rolling for logs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: build
    • Labels:
      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.patch
          5 kB
          Amareshwari Sriramadasu
        2. LENS-772.2.patch
          10 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              amareshwari Amareshwari Sriramadasu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment