what's the easiest way of persisting these logs? I'm using next but this prob applies to other frameworks as well