edit log write mode