Added log dir creating