writing log file moved to upload, update, delete