test logging response code in CDR