make logs line break properly
Merge pull request #65 from yyx990803/log-fix

make logs line break properly