The server log scrubbing code from ticket #21304 is now refactored into a safelog package, along with the appropriate tests