• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk issue with logs

EricVis

Basic Pleskian
I notice very dangerous bug/issue with Plesk 12.5.

I ran a website that generated tons of php warnings on PHP 7. All of them went straight to error log (local error log for vhost and /var/log/plesk-php70-fpm/error.log - files never rotated and grew to 10GB within few hours.

Why these log files don't rotate? Plesk settings are corerct and supposed to rotate when files reached 100MB
 
You can create own conf file for rotation this log, like /usr/local/psa/etc/logrotate.d/psa-php70 with following content:

/var/log/plesk-php70-fpm/error.log {
missingok
daily
rotate 3
size 10M
compress
nocreate
}
 
Back
Top