Torture should be (remain?) illegal, so should the Death Penalty. The State should not be in the "Punishment" or "Vengeance" business, but rather in the "Protection" business. Besides the ethical concerns, there is always the very real possibility the State has the wrong guy/gal. And it sets a bad example for the rest of us to follow.
Not to mention that allowing the State to have such power undermines Civil Rights and institutionalizes immoral, unethical, criminal, and ineffective behaviour. Torture has never been shown empirically to be consistently effective as an information gathering tool; under torture, most people will say whatever they think the torturer wants to hear. Many false confessions of heresy and witchcraft were elicited by the Inquisition. And false confessions are regularly obtained through this sort of criminal behaviour by local, state, and national law enforcement personnel, and by Military and Intelligence personnel.
Having said that, In the scenario's that some have proposed, like witnessing the rape/torture/murder of a family member, I'm all for personal vendettas, and I think it should be seen as justifiable under the law. However, if your vendetta goes awry and targets the wrong person, you should be prepared to be held criminally liable.
GB