It is properly good that they don't publish the names, but "information that could create additional security risks for soldiers stationed in Afghanistan" is outside what a newspaper should care about - it should be focused on getting news, not help or hinder a war.
Uh, I disagree. One of the tenets of journalism is to minimize harm. There is probably information in those documents that could legitimately be used to kill people.