create log dir if missing