logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1855) Add an optional random delay in TimeBasedTriggeringPolicy
Date Thu, 23 Mar 2017 14:02:41 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15938354#comment-15938354

ASF GitHub Bot commented on LOG4J2-1855:

GitHub user m-anthony opened a pull request:


    [LOG4J2-1855] Add an optional random delay in TimeBasedTriggeringPolicy


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/m-anthony/logging-log4j2 master

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #68
commit 648274bb80693729cc3d5e43f67642dc44013c8a
Author: Anthony MAIRE <maire.anthony@gmail.com>
Date:   2017-03-23T13:43:04Z

    [LOG4J2-1855] Add an optional random delay in TimeBasedTriggeringPolicy

commit 6235f81e819255c2d26338946a65bf3ee8b4ee42
Author: amaire <amaire@smart-trade.net>
Date:   2017-03-23T14:01:03Z

    formatting: change tabs to spaces


> Add an optional random delay in TimeBasedTriggeringPolicy
> ---------------------------------------------------------
>                 Key: LOG4J2-1855
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1855
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Appenders
>    Affects Versions: 2.8.1
>            Reporter: Anthony Maire
> When there are lots of JVM on the same physical host configured to rolling their log
file with a TimeBasedTriggeringPolicy, it will create a temporary load that can impact the
behavior of the applications since all JVM will roll and compress the old file at the same
> The purpose of this enhancement is to add an additional property on TimeBasedTriggeringPolicy
to delay the rolling by a random amount of time to avoid that massive simultaneous rolling.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message