creates log dir