That feature would only be for windows. Unix systems don’t behave that way. I’m not sure about other environments like OS/400 and z/OS as I haven’t worked on them in 20 years.
Ralph > On May 10, 2016, at 7:36 AM, Greg Thomas <greg.d.tho...@gmail.com> wrote: > > On 10 May 2016 at 14:30, Van Jaarsveldt, Charl <cvanjaarsve...@dandh.com> > wrote: >> I then tried to shut down the service and rename the file. It gave an error >> and told me the file was open by the system. I clicked retry, and it worked >> fine. Very strange. > > Do you have some sort of anti-virus running on the machine in > question? That sounds like typical AV behaviour; it locks the file > while it scans for viruses, preventing the rename/delete/etc., but by > the time you get around to re-trying it the AV scan is complete and > the retry succeeds. > > ISTR that Subversion has/had a built-in retry-loop on Windows > platforms to avoid this exact problem. Perhaps it's something that > log4j2 needs to implement? > > Greg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org