Jetty: Rollover log files at midnight, not noon

This is a separate Jetty 9.2.21 bug unrelated to the previous fix
This commit is contained in:
zzz
2017-04-30 13:19:48 +00:00
parent baa314d71f
commit d27d060322
3 changed files with 5 additions and 2 deletions

View File

@@ -185,7 +185,7 @@ public class RolloverFileOutputStream extends FilterOutputStream
midnight = Calendar.getInstance();
midnight.setTimeZone(_zone);
// set to midnight
midnight.set(Calendar.HOUR, 0);
midnight.set(Calendar.HOUR_OF_DAY, 0);
midnight.set(Calendar.MINUTE, 0);
midnight.set(Calendar.SECOND, 0);
midnight.set(Calendar.MILLISECOND, 0);

View File

@@ -1,3 +1,6 @@
2017-04-30 zzz
* Jetty: Rollover log files at midnight, not noon
2017-04-29 zzz
* Build: Fix failing release tests
* Jetty:

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 20;
public final static long BUILD = 21;
/** for example "-test" */
public final static String EXTRA = "-rc";