modified auto log dir