[minor] A bit of logging improvement