You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Lingyun Tuo <li...@gmail.com> on 2005/11/29 04:41:23 UTC
Always flush using "endl", possible undesired behavior?
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