• 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.

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