DB logger logging incorrect reply
For an API returning a response like this
civicrm_api3_create_success($result_values)
with $result values
being a simple array, the API logger logs something else as the reply in the database.
In this specific case, contributions are involved inside the called API, and the logger returns the Contribution.create
spec (i.e. the BAO create spec).
Seems that
$record = array_pop(self::$log_stack);
does not reliably get the correct API call in https://lab.civicrm.org/BjoernE/org.civicoop.logapirequests/-/blob/master/CRM/Logapirequests/ApiDBLogger.php#L70-98