added log output for api call