Data retention claims in default privacy topic

I am reviewing the privacy policy on my new self hosted discourse.

The policy out of the box says - * Retain server logs containing the IP address of all requests to this server no more than [NUMBER OF DAYS] days.

Is there a setting in discourse to remove the logs after a certain number of days?

I am not even sure how many days it should be kept for legally. We will have worldwide users in the forum.

Could someone point me in the right direction please?