At 09:04 28.08.2002 -0600, you wrote:
>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.

Don't believe everything you read.

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

Which version of log4j is this? What is the DatePattern for 
DailyRollingFileAppender? Is the directory c:/path/to/my protected?

>Thanks,
>-shawn

--
Ceki


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

Reply via email to