Add more logging to persist/kv