only create log dir if needed