flush out some logging stuff
I like feti's ideas here.. just filling in the missing pieces.