log stats in a different way

Hopefully this will include units on each task as well as make better
use of the 'source' concept