fix fail to create the directory when the log directory does not exist
Merge pull request #1 from narusemotoki/logger

fix fail to create the directory when the log directory does not exist