test logging status code