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 "Clement Caylux (JIRA)" <ji...@apache.org> on 2014/11/26 18:35:13 UTC
[jira] [Updated] (LOG4J2-907) Log4j2 rolling policy
[ https://issues.apache.org/jira/browse/LOG4J2-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Caylux updated LOG4J2-907:
----------------------------------
Attachment: log4j2.xml
> Log4j2 rolling policy
> ---------------------
>
> Key: LOG4J2-907
> URL: https://issues.apache.org/jira/browse/LOG4J2-907
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.1
> Environment: windows 7 enterprise
> Reporter: Clement Caylux
> Attachments: log4j2.xml
>
>
> I am using log4j2 and a rolling file appender, to roll file based on size and time.
> My problem is that my current log (currentRoll.log) file is in the folder that was first created when the program started. I would need it to be in the last. So for example if I start running the program at 1pm on November 25th, 2014 , and at 3pm I want to look at the current logs they would not be in the 25-11-2014-15 folder but in the 25-11-2014-13 folder.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org