logging + DeviceGateway