Edit - Note for Mega users!
The Mega does not use the same SPI pins as an UNO.
See the Adafruit documentation here: https://learn.adafruit.com/downloads/pdf/adafruit-data-logger-shield.pdf
Page 30 shows how to use a modified library to be able to show the Mega which pins to use on the shield.