Removing some debugging printfs and fixing a logging msg