I'm using this in combination with Node-RED and mySQL to store the logs. I keep 4 weeks of data in the database and every week a Node-RED flow exports any data older than 4 weeks to a file and then deletes that from the database.
I also keep all device events (different than logs) also via Node-RED. I filter out certain event types (typically ones that are very frequent - lux reading, motion activity) from the events that are stored. Below is a link if you are interested.
Hope this helps - feel free to reach out if you want additional details.