Remove extraneous whitespace in logging.