Fixed some minor logging issue