BufferSize always the same

2003-10-02 Thread Pascal Rheaume (QC/EMC)
Hi, I'm using a custom FileAppender with buffered io because speed is really important for me. I have amazing improvement over not buffered io, so I would like to keep it buffered. I'm able to live with a small lost of logging at the end due to the buffer that has not been emptied. And if I'm

Re: BufferSize always the same

2003-10-02 Thread Ceki Gülcü
Well, in Java IO there are buffers and buffers. Even if you do *not* set the bufferedIO option in FileAppender, that is if bufferedIO is set to false, writing to the file is buffered. FileOutputStream is buffered. If you set the bufferedIO option, FileAppender will buffer String (unicode) to

Re: BufferSize always the same

2003-10-02 Thread Ceki Gülcü
I should have verified for typos before posting my reply. Corrections below. At 05:10 PM 10/2/2003 +0200, you wrote: Well, in Java IO there are buffers and buffers. Even if you do *not* set the bufferedIO option in FileAppender, that is if bufferedIO is set to false, writing to the file is