modify http status for log.