BME280 values won't show up in logfile

The whole section is missing.

In this case the sketch wasn't installed on the Arduino, you're still running an outdated version of it. Upload again and check for upload errors. Clear the SD card to be sure you don't get old data.