updated logging functions; needs a DictDiff object and utilities file