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

Matt Sicker commented on LOG4J2-385:
------------------------------------

Speaking of Quartz, another way to give that sort of feature is through the 
Jave EE Timer service for EJB as described [in the 
tutorial|http://docs.oracle.com/javaee/6/tutorial/doc/bnboy.html]. I also +1 
the cron idea.

> Unable to roll log files monthly
> --------------------------------
>
>                 Key: LOG4J2-385
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-385
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0-beta8
>         Environment: Java 1.7.0_25, Windows 7 64bit, IntelliJ IDEA 12 Ultimate
>            Reporter: Ace Funk
>            Assignee: Remko Popma
>         Attachments: LOG4J2-385.patch
>
>
> Attempting to use FastRollingFile appender and configure log file rollover to 
> occur monthly.  When {{filePattern="logs/app-%d\{yyyy-MM}.log.gz"}} is used, 
> at application startup an archive file is created immediately 
> (app-2013-01.log.gz) even if no log previously existed.  A log file is 
> created, but only a single entry is made into the log.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to