iotests: Set up Python logging