Failed to rename log file

2005-11-28 Thread Jitendra Kharche
Hi, I am using Log4Cxx on Windows. I always get the following error --- Failed to rename [C:\app-name/logs/event-handler.log] to [C:\app-name/logs/event-handler.log.2005-11-28]. ---

Always flush using "endl", possible undesired behavior?

2005-11-28 Thread Lingyun Tuo
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 Wi