minor logging work