log_retrieve and log_delete implemented