Switched from sync to local storage; most recent log now being saved