SMS-based logging of data