Linux Log Eraser is a set of shell scripts that will cleanly search for specific data in log files and wipe it.
http://packetstormsecurity.com/files/102532/Linux-Log-Eraser-1.0.html