create log dir with permissions upon starting