adding log dir