You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/11/17 12:50:12 UTC

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

     [ https://issues.apache.org/jira/browse/LENS-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raju Bairishetti closed LENS-772.
---------------------------------

> 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
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.4
>
>         Attachments: LENS-772.2.patch, LENS-772.patch
>
>
> 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)