Sensor logging database