Hi,

I have been search through the forum and google already but I can't find the
answer.

Right now, I am using RollingFileAppender and set BufferedIO to be true.
When my application starts, it will output some startup message (like
startup env variable and startup time) to the buffer.
However, I would like to output those message to the log file instantly
after the application finishes starting, but keep the BufferedIO feature
after writing the first patch of messages to the log file.

Is there anyway to manually flush the buffer content to the log file?

Thanks,
Matthew Kwong
-- 
View this message in context: 
http://www.nabble.com/Anyway-to-manually-flush-the-buffer-content-to-the-log-file--tp16502791p16502791.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to