Accumulo log sanitization, generic.

Removed inline comments after testing.