added log status code