some minor logging work