write data record to log storage.