edit log dir