Clear log after 10 input, backup all logs.