A number of years ago, after trying several different commercial loggers (e.g., PC Coach), and a bunch of spreadsheets, I got frustrated with their limitations and decided to develop my own program.
It's called
CycliStats, and it's been on the market for 4 years now (with continued enhancements and updates).
You can
download a free, fully functional, 30-day trial version from the website to see if it meets your needs, and you can PM me if you have any questions about it.