local version of log persistancer