Fix typos in log messages. Contributed by Ray Chiang