• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Exclude log directories from files size count

M

Michael Andrews

Guest
Our log directories are getting rather large and I'm wondering if there's any way to exclude a folder from the directory size that Plesk keeps track of. Basically, sites are getting shut down because they are exceeding the file size limit, but 30M of that is in the logs folder and I don't want that to count against them.
 
There are a couple of things you can do.

1. Go into Server Settings in Plesk and unselect 'log files' . Log files won't be used for disk space calculation

2. Go to 'domain' > Log Manager > Log Rotation and limit the logs to daily or size and set a limit to the number of logs they can have. Maybe something less then 10. You can also compress log files to save disk space. This can also be set from Domain Templates
 
Thanks for the reply, if I disable log files, will that screw with smarter stats though?
 
You're not disabling logs its just disabling the logs from being calculated in the domains disk space.
 
Back
Top