SNS pvnames/autocomplete: Add logging, don't use deprecated API