add option to disable log rotation
Merge pull request #1 from jiehanzheng/master

add option to disable log rotation