add log rotate cookbook