: How to set web server log files deletion at certain interval in shared hosting? I have a site created with Drupal 8 CMS. It is hosted using shared hosting(Apache web server). I read at many
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.
Thanks.
More posts by @Correia994
1 Comments
Sorted by latest first Latest Oldest Best
If your shared hosting provider uses cPanel and you use cPanel to manage your website, cPanel has the function to automatically delete old log files after 30 days.
Screenshot from the "Raw Access" page of cPanel; note the "Remove the previous month's archived logs from your home directory" option:
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.