I have a site created with Drupal 8 CMS. It is hosted using shared hosting(Apache web server). I read at many places, that web server logs collect and store the IP addresses and otehr data of the visitors automatically.
How can I set a time period so all the web log files gets deleted after certain period of time? lets say 30 days, so ultimately IP addresses of the visitors also gets deleted.