logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierrick HYMBERT (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-1548) [CronTriggeringPolicy] ConfigurationScheduler schedules the task infinitely after first fire
Date Wed, 24 Aug 2016 11:05:20 GMT
Pierrick HYMBERT created LOG4J2-1548:

             Summary: [CronTriggeringPolicy] ConfigurationScheduler schedules the task infinitely
after first fire
                 Key: LOG4J2-1548
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1548
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.6.2
            Reporter: Pierrick HYMBERT
            Priority: Blocker

After first fire at fixed time, rename/archive action is sheduled infinitely.

Example of configuration:
<RollingFile name="RollingFile"
      <PatternLayout pattern="%d %p %C{1.} [%t] %m%n" />
      <CronTriggeringPolicy schedule="27 58 13 * * ?"/>

First trigger is scheduled at 13:58:27 then every new log entry generates an archive file.

Test case and suggested fix attached.

This message was sent by Atlassian JIRA

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

View raw message