codecreature Posted 10 hours ago Posted 10 hours ago Sorry if these are obvious questions, I've been trying to figure this out myself but I don't know much about web hosting or Plesk. Is there a way to directly limit the total amount of disk space Plesk's Apache SSL/TLS access logs are permitted to use before they start clearing themselves? I'm working on cutting down the number of requests I'm currently sending via PHP because I did some things unwisely, but I'd also like users to be theoretically able to send a good number of requests without me ever having to manually clear the logs to avoid going over my storage limit. Also, the Plesk disk space usage statistics for my site is listing 286 MB for Web (as opposed to logs/databases/mail/backups/config) but the repository I pull from only contains 94 MB of files. I'm currently trying to figure out where the remaining file size comes from. If anyone has suggestions on what sorts of things I might be able to look for or where, I'd appreciate it. I haven't had any luck digging through my folders so far. Quote
MoneyBroz Posted 3 hours ago Posted 3 hours ago You can limit the size of logs by clicking the logs button in plesk and then clicking the three lines in the top left and then clicking log rotation. From there you can enable log rotation and set the size you want. I usually set it to something like 30000kb which is 30mb. You can also delete your current log files by clicking "Manage log files" in the same menu that you click on to go to the log rotation page. Quote
codecreature Posted 1 hour ago Author Posted 1 hour ago 1 hour ago, MoneyBroz said: You can limit the size of logs by clicking the logs button in plesk and then clicking the three lines in the top left and then clicking log rotation. From there you can enable log rotation and set the size you want. I usually set it to something like 30000kb which is 30mb. You can also delete your current log files by clicking "Manage log files" in the same menu that you click on to go to the log rotation page. Thanks so much, that helps a ton! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.