added sensor data to log file