updated logging stuff.