[logback-dev] [JIRA] Created: (LBCORE-243) Return ImmediateFlush and perhaps buffering options to FileAppender

Petr H (JIRA) noreply-jira at qos.ch
Wed Dec 21 16:34:12 CET 2011


Return ImmediateFlush and perhaps buffering options to FileAppender
-------------------------------------------------------------------

                 Key: LBCORE-243
                 URL: http://jira.qos.ch/browse/LBCORE-243
             Project: logback-core
          Issue Type: Improvement
          Components: Appender
    Affects Versions: 1.0.0
            Reporter: Petr H
            Assignee: Logback dev list


Based on the "log4j performance comparison" discussion in the logback-user mailing list:
http://old.nabble.com/log4j-performance-comparison-td31183677.html

I'd like to see at least the ImmediateFlush option back as it causes really big difference in writing performance at our systems with heavy logging activity.
Last logback release with ImmediateFlush option is 0.9.18 and this is the one we have to stay at due to performance reasons. We can't afford to upgrade to later logback release or switch ImmediateFlush to true as it makes some of our systems practically unusable.

The best option seems to be the use of FileWriter with the possibility to set the ImmediateFlush option and also buffering (wrapping with BufferedWriter and use of BufferedIO + BufferSize options) can help a little.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list