added log for persistence