fixed the log messages not show correctly.
Merge pull request #228 from whr4935/master

fixed the log messages not show correctly.