I used to go into my local dvla office but I'm pretty sure they have all closed now, anyway this is how I used to work it,
You can sign the log book as normal into the new keepers name and address, then fill in a V317 which is just the retention application form but fill in the original owners...