created proper log dir