Add a filter to the logging console handler to simplify exception text.
Offer option to remove console handler; fix variable shadow bug.

The rest of the integration tests will need updates due to the fix of
the variable shadow bug.
Fix variable shadow bug, use absolute import in two integration tests.
Redo accidentally undone changes.