need a log dir too