You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/09/14 07:47:45 UTC

[jira] [Created] (LENS-772) Both time and size based rolling for logs

Amareshwari Sriramadasu created LENS-772:
--------------------------------------------

             Summary: Both time and size based rolling for logs
                 Key: LENS-772
                 URL: https://issues.apache.org/jira/browse/LENS-772
             Project: Apache Lens
          Issue Type: Improvement
          Components: build
    Affects Versions: 2.3
            Reporter: Amareshwari Sriramadasu
             Fix For: 2.4


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)