• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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