log array of year