Flush the invocation log at a regular interval