log when a "bad" name is encountered, re-use code