You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/09/23 09:37:04 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14904102#comment-14904102 ]
Hadoop QA commented on LENS-772:
--------------------------------
Applied patch: [LENS-772.patch|https://issues.apache.org/jira/secure/attachment/12761818/LENS-772.patch] and ran command: mvn clean install. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/71/
> 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.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)