in reply to Force Commit file writes
why can't you try $| If set to nonzero, forces a flush right away and after every write or print on the currently selected output channel.