On Mon, Jul 04, 2005 at 11:27:31PM -0700, Gitit Amihud wrote:
> I get the following exception:
> g4net:ERROR [RollingFileAppender] Exception while rolling file 
> [D:\NICECTI\log\RCM.log.25] -> [D:\NICECTI\log\RCM.log.26]
> stem.IO.IOException: The process cannot access the file because it is being 
> used by another process.

With Windows 2000 AS and VB6 I had a problem with rename when I
implemented a rolling file appender for a program. The old filename
was sometimes(!) locked by the OS for a while after a rename and it
was impossible to create a new file with the old-name until after
a short while (since the system wasn't time critical, I tried it again
in a loop).

Perhaps newer versions of windows keep that feature?

/Sebastian

Reply via email to