Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B05C200B86 for ; Sun, 18 Sep 2016 12:53:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 898DA160ADA; Sun, 18 Sep 2016 10:53:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CEC49160AC0 for ; Sun, 18 Sep 2016 12:53:21 +0200 (CEST) Received: (qmail 93887 invoked by uid 500); 18 Sep 2016 10:53:21 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 93860 invoked by uid 99); 18 Sep 2016 10:53:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Sep 2016 10:53:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DE12D2C0050 for ; Sun, 18 Sep 2016 10:53:20 +0000 (UTC) Date: Sun, 18 Sep 2016 10:53:20 +0000 (UTC) From: "Remko Popma (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LOG4J2-1198) Add support for custom rollover strategy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 18 Sep 2016 10:53:22 -0000 [ https://issues.apache.org/jira/browse/LOG4J2-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1198: -------------------------------- Fix Version/s: (was: 2.7) 2.8 > Add support for custom rollover strategy > ---------------------------------------- > > Key: LOG4J2-1198 > URL: https://issues.apache.org/jira/browse/LOG4J2-1198 > Project: Log4j 2 > Issue Type: Improvement > Components: Appenders > Affects Versions: 2.4.1 > Reporter: Remko Popma > Fix For: 2.8 > > > [DefaultRolloverStrategy|http://logging.apache.org/log4j/2.x/manual/appenders.html#DefaultRolloverStrategy] has a very compact configuration, but as a trade-off has become a bit monolithic. I find it difficult to unit test and maintain. > Continuing in the spirit of the work done for LOG4J2-435, I would like to break out components for the different kinds of processing done by DefaultRolloverStrategy so that they can be individually configured and combined by users. Users would configure a CustomRolloverStrategy by specifying nested actions that define what needs to be done during a rollover. > The DefaultRolloverStrategy would still continue to work as current, but under the hood can delegate to these components. > _At this stage the above is still just a concept. The description is to be updated when it becomes more clear if and how this would work._ -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org