logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Psenner <dpsen...@gmail.com>
Subject Re: Ideas for a new RollingFileAppender
Date Tue, 13 Aug 2013 12:32:42 GMT
> Making the appender async is a major change and it has ramifications that
> might prove problematic like unflushed buffers.
> And if we make the buffer of size 1 then its really synchronous again,
> isn't it?
>

Yes. What's the point? A file appender has to be async if it wants to be
fast. See:

http://logging.apache.org/log4j/2.x/manual/async.html#Performance

It's left up to whoever uses the framework to decide if he wants
performance or safety.

Mime
View raw message