check_primary_support: fix logging import
Merge pull request #4034 from frasertweedale/fix/check_primary_support-broken-import

check_primary_support: fix logging import