Remove logging in __virtual__ func.
Merge pull request #8727 from holmboe/log-in-virtual-func

Remove logging in __virtual__ func.