fixed comment
handle log directory better.
Merge pull request #2 from chriswhsu/develop

Develop