Support additional logging messages #15

* fix EIDIR bug
these two lines indent too deep I think