Adding it wouldn't make a difference as 'true' is already the default value.

On Mon, Oct 24, 2011 at 10:51 PM, Cook, Henri <henri.c...@itn.co.uk> wrote:

>  In fact, I’ve just tried adding this to my config directives and still
> the same effect!****
>
> ** **
>
> <immediateflush value="true" />
>

Unless you're compiling Log4Net yourself, debug/release mode should only
affect your own codes? I've no idea why it doesn't appear to flush when in
debug mode. Hope someone replies with an answer.


> ****
>
> ****
>
> ** **
>
> *From:* Cook, Henri
> *Sent:* 24 October 2011 15:49
> *To:* Log4NET User
> *Subject:* RE: Turning off buffered IO for the RollingFileAppenders****
>
> ** **
>
> Hi Chun Kit,****
>
> ** **
>
> Thanks for your response! I am using a tail program but I’ve never observed
> chunking in the past, additionally whenever I stop my c# Application (just
> running in debug with F5 in Visual studio, stopped with shift+F5) the log
> suddenly gets written en-masse – so it’s like it’s cached somewhere and
> flushed on close.****
>
> ** **
>
> In fact I’ve just confirmed this with Notepad++ - the file doesn’t get
> written until I shift+F5****
>
> ** **
>
> Weird, no?****
>
> ** **
>
...

Reply via email to