Escape word-separator in LogFormatter

Change-Id: I9428f5ff5b95d09932b3588f0118d6992a384390