• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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