I've written a program to track all my training info. I started it 3 summers ago, and with ideas from people that have used it on letsrun.com, it's been getting more sophisticated each year. It tracks all the standard things - mileage, type of workout, temperature, sleep, weight, daily notes, etc - and a lot more. You can check the mileage on your shoes, you can search for workouts you've entered (ie you could tell it to find all runs longer than 15 miles but less than 20 miles, done when the temperature was colder than 50, for example), you can graph any data that you enter, etc etc. It's gotten over 4000 downloads while it's been up... and it's totally free, by the way, absolutely no strings attached.
http://www.people.fas.harvard.edu/~weil/code.html
, scroll a few lines down to "TriathLog 4.0"
I'm still releasing new versions each summer, so if it doesn't do something you want it to, email me (email address is in the about box) and that will probably be in the next version.