Log data previous driving

Hi friends ,
I wanted reach registered data when previous driving. But I don’t know do that. Can anybody help me?