Adding logging for save