Added logs for changes and errors.