提交 76233ed8 编写于 作者: W what-a-good-jungle 提交者: von gosling

[ISSUE #359]Fix logging check period (#360)

上级 b054a9d4
......@@ -966,7 +966,7 @@ public class LoggingBuilder {
rollingCalendar.setType(i);
Date next = new Date(rollingCalendar.getNextCheckMillis(epoch));
String r1 = simpleDateFormat.format(next);
if (r0.equals(r1)) {
if (r0 != null && r1 != null && !r0.equals(r1)) {
return i;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册