Hi,
I found FallbackErrorHandler loses the last event
when switching to backup appender, I suggest to add one line to the end of
method error(String message, Exception e, int errorCode, LoggingEvent event)
:
------------------------------------------
FallbackErrorHandler.java
-------------------------------------------
public void error(String message, Exception
e, int errorCode, LoggingEvent event) {
......................
backup.doAppend(event);
//// Please add this line
}
Best regards, Albert
-----------------------------
Albert Yu ( Yu Yizhuan ) Software Engineer |