Slight logging improvement