I bought Adafruit data logger
I downloaded the file but can not compile it.
Could you explain how you did it?
How did you install the libraries and what are the error messages? Did you copy the libraries I2cMaster, SdFat, and SoftRTClib, to your libraries folder?
If the ethernet shield is the new type with the ICSP connector, it will work fine. The older versions without the ICSP header on the bottom will not work without serious pin bending.
I forgot the R1 Ethernet shield. The R1 Ethernet SD should work with software SPI.