Yes logrotate is the answer but it is not configured by default so you have to either explain how to do it in your docs or it just won’t be active and the file will grow indefinitely
I am open to that idea. Just ask which setup you want to have and we can write down the config for that. At the end we can copy that into our documentation. I like that idea. I have the feeling that it is not the target in this thread. That is why I am just waiting until someone asks the magic question instead of complaining about logrotate and hope that we would implement a replacement for it.