flush on restarts, terminates, and log reopens