create all dir in the log path if they are not exist
Merge pull request #20 from tianxiao-ma/master

create all dir in the log path if they are not exist