Quick and dirty tool for logging stats.