Reading all sensors and logging the values