Ethernet Shield: Log sensor readings to SD card and serve the logs over Ethernet

have you checked if it's not a problem with the chip select pin?

Which ethernet shield are you using?