api-status before logging