archive the old logs