Added mkdirp.
Creating logs Dir if needed.