Minor logigng fixes