[logback-dev] [JIRA] Created: (LBCORE-116) SizeAndTimeBasedFNATP.start doesn't recompute currentPeriodsCounter

Anders Wallgren (JIRA) noreply-jira at qos.ch
Wed Aug 19 01:49:10 CEST 2009

SizeAndTimeBasedFNATP.start doesn't recompute currentPeriodsCounter

                 Key: LBCORE-116
                 URL: http://jira.qos.ch/browse/LBCORE-116
             Project: logback-core
          Issue Type: Bug
          Components: Rolling
    Affects Versions: 0.9.17
            Reporter: Anders Wallgren
            Assignee: Logback dev list

Using SizeAndTimeBasedFNATP I'm getting filename collisions on size-based rollover after restarting my process.  I think the problem is in SizeAndTimeBasedFNATP.start:

    if (tbrp.getParentsRawFileProperty() == null) {
      String regex = tbrp.fileNamePattern.toRegex(dateInCurrentPeriod);
      String stemRegex = FileFilterUtil.afterLastSlash(regex);

shouldn't this be  if (tbrp.getParentsRawFileProperty() != null)?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the logback-dev mailing list