• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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