logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-915) Wrong timestamp of filename when SizeBasedTriggering and TimeBasedTrigger used simultaniously with RollingFileAppender
Date Sun, 02 Apr 2017 20:08:42 GMT

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

Matt Sicker updated LOG4J2-915:
-------------------------------
    Fix Version/s:     (was: 2.8.2)

> Wrong timestamp of filename when SizeBasedTriggering and TimeBasedTrigger used simultaniously
with RollingFileAppender
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-915
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-915
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Daniel Stuckert
>         Attachments: JIRA_915.diff
>
>
> When using the SizedBasedTrigger and TimeBasedTrigger simultaniously the timestamp for
the filename generated by the SizeBasedTrigger is not the current time but the next timestamp
calculated by the TimeBasedTrigger.
> The bug can be reproduced with the sample configuration in the manual.
> Likely cause of the problem is that the TimeBasedTrigger sets the time of the next rollover
and the SizeBasedTrigger uses the set time.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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