My humble Garmin 196 does keep a track log, with a selectable resolution whose factory default is one point every 30 s.
There are a few AAIB accident reports that include track logs downloaded from portable GPS units, although in many cases the owner never modified the default resolution, making the log not as helpful as it could have been.