Replaced old API log by the new one