logging missing UID handling