Salikh Zakirov wrote:
> Hi,
>
> I'm one of the contributors to Apache Harmony project (DRLVM virtual machine).
> DRLVM extensively uses Log4CXX for its logging needs.
>
> However, I've noticed that autoflushing is not really implemented in Log4CXX.
>
> I think that immediate flush behaviour is really needed for console appenders,
> and it seems that by design it was meant to be that way:
> writerappender defines immediateFlush as true, and
> fileappander resets it to false for improving performance in buffered case.
>
> The problem is that immediateFlush is never referenced on the write.
> The following patch seemed to fix the problem.
>
> Can this fix be committed to SVN?
I'll take care of it.
Andreas