How do you flush a buffered log4j FileAppender?

前端 未结 7 1758
感动是毒
感动是毒 2020-12-01 09:49

In log4j, when using a FileAppender with BufferedIO=true and BufferSize=xxx properties (i.e. buffering is enabled), I want to be able to flush the log during normal shutdown

7条回答
提交回复
热议问题