Fixed APICall logging