logpersist: incorporate size and buffer tunables am: 515f091f5e  -s ours
am: e308956557

Change-Id: I37410b65153d9d15af621da358aa9cc0fe7eb314