• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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