log dir path fix