different var for log dir, create log dir in constructor