only keep 5 logs