add log status code