Remove empty line of logs.
Polish log replace logic.
Merge pull request #22 from ivanzhaowy/master

Remove empty line of logs.