[logback-dev] [qos-ch/logback] 8289d8: LOGBACK-1240 Log files aren't deleted on startup w...

Ceki Gulcu noreply at github.com
Sun Sep 1 13:33:31 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: 8289d84eadb55096075644fb35afa0a55e565f6e
      https://github.com/qos-ch/logback/commit/8289d84eadb55096075644fb35afa0a55e565f6e
  Author: asaarilahti <asaarilahti at gmail.com>
  Date:   2018-06-09 (Sat, 09 Jun 2018)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/rolling/helper/RollingCalendar.java
    M logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemoval_Test.java

  Log Message:
  -----------
  LOGBACK-1240 Log files aren't deleted on startup with hourly rotation.

Remove casting to int in calculation of periodBarriersCrossed in
TimeBasedArchiveRemover and add a test. Casting caused the the value to
become negative resulting in no archives being deleted.


  Commit: b359679347186a8486e064e1cfd360f2cd478de8
      https://github.com/qos-ch/logback/commit/b359679347186a8486e064e1cfd360f2cd478de8
  Author: Ceki Gulcu <ceki at qos.ch>
  Date:   2019-09-01 (Sun, 01 Sep 2019)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/rolling/helper/RollingCalendar.java
    M logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemoval_Test.java

  Log Message:
  -----------
  Merge pull request #351 from asaarilahti/LOGBACK-1240

LOGBACK-1240 Log files aren't deleted on startup with hourly rotation


Compare: https://github.com/qos-ch/logback/compare/a6356170acfa...b35967934718


More information about the logback-dev mailing list