Adding some minor logging