Import the logging module directly. Fixes #115.