Avoid errors if percent sign present in log string.