Don't log in __virtual__ function.

Use __virtualname__ as well.
don't log anything in __virtual__ functions
Merge pull request #11559 from UtahDave/develop

Don't log in __virtual__ function.