Logging of SMSs and contacts