persisting log