[ 
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:

    https://github.com/apache/logging-log4j2/pull/68

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

    https://issues.apache.org/jira/browse/LOG4J2-1855

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:

    https://github.com/apache/logging-log4j2/pull/68.patch

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.anth...@gmail.com>
Date:   2017-03-23T13:43:04Z

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

commit 6235f81e819255c2d26338946a65bf3ee8b4ee42
Author: amaire <ama...@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 time
> 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
(v6.3.15#6346)

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

Reply via email to