in reply to Capture Contents AND Overwrite without Opening Twice?
Also watch for race conditions between the open and the truncate/write. You could end up with a mangled log file or a lost update.
--MidLifeXis