create log dir if it doesnt exist