Fix import for logging.