Updating logging for debugging