logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Wielek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-43) Allow DailyRollingFile appender to rollover programmatically
Date Mon, 13 Jun 2011 07:19:52 GMT

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

Lukasz Wielek commented on LOG4J2-43:
-------------------------------------

Right, it's 1.x code.

Are you considering a kind of timer/thread that would fire rollover at certain time ?
I think that the DatePattern would be sufficent, to configure 'auto-rollover'.

> Allow DailyRollingFile appender to rollover programmatically 
> -------------------------------------------------------------
>
>                 Key: LOG4J2-43
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-43
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Appenders
>            Reporter: Lukasz Wielek
>            Priority: Minor
>
> Allow DailyRollingFile appender to rollover  programmatically without appending any new
log event.
> This will allow log file rollover, in case there's no messages to be logged for a long
time,
> but the current log file needs to be backed up.
> I think making the rollOver method public would be sufficient :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message