Prune logs