SD card error logging.