log_entry_from_data() - not finished.