logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lingyun Tuo <lingyun...@gmail.com>
Subject Always flush using "endl", possible undesired behavior?
Date Tue, 29 Nov 2005 03:41:23 GMT
Hello,

In TTCCLayout, every log message is formatted with "endl". Because
"endl" causes stream flush, it's impossible to disable "immediate
flush" if logging to disk file. Is this a desired behavior? IMHO, it
would be better replace "endl" with a simple carriage return.

We use log4cxx 0.9.7 on Windows 2k.

Thanks in adance.

Lingyun Tuo

Mime
View raw message