• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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