Support additional logging messages #15

* fix EIDIR bug