Fix failing if there is no ./log directory.
Merge pull request #160 from BenjaminKim/master

Fix failing if there is no ./log directory.