• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Error_log deleting

F

fandaa

Guest
Hello,
I have very big problem. My error_log size is about 29GB and I can't delete it from PLESK. I tried to login by SSH and delete log. After delete all error_log files it is it same, how before deleting...

Can you write me where I can delete this error_log? Left space are next sites.

Disk space used by httpdocs: 37.7 MB
Disk space used by Log files and statistical reports: 29.0 GB

/dev/sda6 64 689.39 MB Used: 49 010.94 MB Free: 15 678.45 MB

Protected directories /var/lib/mysql
/var/www/vhosts
/var/qmail/mailnames
/var/lib/named

Thank you.
 
You can setup your Plesk to rotate logs for every domain, if youre not doing so already.

Go to Domains, select all domains, click on Group Operation and switch Log rotation ON, switch condition ON and Daily, number of log files you'd like to keep (I use 7 myself), and finally, enable log compression.

Log rotation happens during the night, so you'll probably notice it on the following day.
 
Apache logs are usually found at /var/www/vhosts/domain.com/statistics/logs
 
Deleted

I deleted error_log from this dir and restarted Apache... But without affect... :(
 
Ok.

Oh.. After sekond restarting and restarting server, the log is away.. :) Thank you very much. :)
 
Back
Top