• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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