Corrected log_type and added log_status.