.csv File being created on SD card, no data within file

Do you see your "closing log file" message?
Paul