Hi,

I'm using log4j on the Windows platform and many times I notice that
DailyRollingFileAppender is not able to rename the log file. I get this
messages on stderr:

log4j:ERROR Failed to rename [c:/path/to/my/file] to
[c:/path/to/my/file.2002-08-27].

I searched the archives and someone had said it may have something to do
with multiple threads using a single Logger object. This may in fact be what
is causing my problem since I have two threads in one class that are using
the same Logger.

What should I do to prevent this error from occurring? It is important we
keep backups of all our log files!

Thanks,
-shawn

====================================
Shawn Wilson [[EMAIL PROTECTED]]
Software Developer, ATMReports.com
PH: 877-327-0873, FAX: 406-294-5806
====================================



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to