[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "witty subject line about logging feature"

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-07-27 21:19:20 CEST

Greg Hudson wrote:
> It's less trivial than you think, because you need to take into account
> log-rolling. This requires your process to accept a signal which causes
> you to close and re-open the log file.

It's worse than that. Win32's filesystem doesn't permit renaming open
files, so the file must be closed, a delay must be added in during which
time the filesystem actually closes the file (which may be delayed due
to AV scanner hooks), and only then can you rename the file. This
usually means that the library must buffer lines during that little dance...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 27 21:20:02 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.