Merge pull request #1 from codeskyblue/master

fix write log to file missing bug
add fatal