debug logging directory check
Merge pull request #3 from josephyzhou/master

debug logging directory check