You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Karun Dambiec (JIRA)" <ji...@apache.org> on 2014/08/20 23:13:29 UTC

[jira] [Updated] (LOG4J2-89) roll over file any time in Rolling file

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

Karun Dambiec updated LOG4J2-89:
--------------------------------

    Attachment: LOG4J2-89.patch

Hello,
I am interested to work on this Issue for Log4J2. My proposal for this problem is to have a event based roll over trigger/policy, where one creates a RolloverEvent when required and this then triggers the rollover. I have attached my initial patch, its not complete but as it is my first time working on Log4J some feedback would be good.

Karun

> roll over file any time in Rolling file 
> ----------------------------------------
>
>                 Key: LOG4J2-89
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-89
>             Project: Log4j 2
>          Issue Type: Wish
>          Components: Appenders
>         Environment: all
>            Reporter: Tushar
>            Priority: Trivial
>              Labels: Rollover
>         Attachments: LOG4J2-89.patch
>
>
> nice to expose a function to roll over a file any time we wish. good for dev and production when yo want a 'fresh' log at a certain arbitary time. should be safe of course all log events should go in to the older or newer file



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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