add missing logging import

Hi,

Exception handling in _callback were looking for logging.DEBUG.

regards.
Nick