Updated the data written to output file

Output all sensor data to the output file, and only echo a small amount
over UDP, reduces the overall load on UDP.