logging to edit