Hold logs-to-file when filling telemetry to send, and dump them all out after telemetry sending.