You must keep a log of the total miles driven if you choose to take the standard mileage deduction. The IRS is quite specific on this point: At the start of each trip, record the odometer reading and list the purpose, starting location, ending location, and date of the trip.