1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Exclude log directories from files size count

Discussion in 'Plesk 9.x for Windows Suggestions and Feedback' started by Michael Andrews, Oct 28, 2010.

  1. Michael Andrews

    Michael Andrews Guest

    0
     
    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.
     
  2. Michael Andrews

    Michael Andrews Guest

    0
     
    Does anyone know how I can fix this?
     
  3. alex vargas

    alex vargas Guest

    0
     
    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
     
  4. Michael Andrews

    Michael Andrews Guest

    0
     
    Thanks for the reply, if I disable log files, will that screw with smarter stats though?
     
  5. alex vargas

    alex vargas Guest

    0
     
    You're not disabling logs its just disabling the logs from being calculated in the domains disk space.
     
  6. Michael Andrews

    Michael Andrews Guest

    0
     
    Awesome thanks
     
Loading...