configure log dir if you want