DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28647>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28647 Add "Flush on Level" capability to FileAppender ------- Additional Comments From [EMAIL PROTECTED] 2004-05-06 04:24 ------- It does make sense. In the first approach however (wrapper buffering events then sending them all at once to the wrapped appender upon flush), you lose most of the advantage of buffering. This is because the wrapped appender will still execute all events one by one when 'flushed'. I.e for a file writer it would still be still be one disk i/o per event. The second strategy was the one I implemented (though via inheritance rather than as a decorator). Not convinced either way yet. Will get the performance testing done tonight or tommorow on the current implementation. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
