add the log folder and edit log