logging deviceID