Related to issue #68, just refactor and reformat code related to logScrubber