File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
package org .apache .logging .log4j .core .appender .rolling ;
18
18
19
+ import java .text .ParseException ;
20
+ import java .util .Date ;
21
+ import java .util .Objects ;
22
+ import java .util .concurrent .TimeUnit ;
23
+
19
24
import org .apache .logging .log4j .core .LogEvent ;
20
25
import org .apache .logging .log4j .core .config .Configuration ;
21
26
import org .apache .logging .log4j .core .config .ConfigurationScheduler ;
28
33
import org .apache .logging .log4j .plugins .PluginAttribute ;
29
34
import org .apache .logging .log4j .plugins .PluginFactory ;
30
35
31
- import java .text .ParseException ;
32
- import java .util .Date ;
33
- import java .util .Objects ;
34
- import java .util .concurrent .TimeUnit ;
35
-
36
36
/**
37
37
* Rolls a file over based on a cron schedule.
38
38
*/
@@ -148,7 +148,7 @@ private static CronExpression getSchedule(final String expression) {
148
148
149
149
private void rollover () {
150
150
Date rollTime = future != null ? future .getFireTime () : new Date ();
151
- manager .rollover (cronExpression .getPrevFireTime (rollTime ).getTime (), lastRollDate .getTime ());
151
+ manager .rollover (cronExpression .getPrevFireTime (rollTime ).getTime (), lastRollDate .getTime ());
152
152
if (future != null ) {
153
153
lastRollDate = future .getFireTime ();
154
154
}
Original file line number Diff line number Diff line change 215
215
<item name =" Dynamic Threshold" href =" /manual/filters.html#DynamicThresholdFilter" />
216
216
<item name =" Map" href =" /manual/filters.html#MapFilter" />
217
217
<item name =" Marker" href =" /manual/filters.html#MarkerFilter" />
218
+ <item name =" Mutable Thread Context Map" href =" /manual/filters.html#MutableThreadContextMapFilter" />
218
219
<item name =" Regex" href =" /manual/filters.html#RegexFilter" />
219
220
<item name =" Script" href =" /manual/filters.html#Script" />
220
221
<item name =" Structured Data" href =" /manual/filters.html#StructuredDataFilter" />
You can’t perform that action at this time.
0 commit comments