• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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