• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question PHP-FPM error log rotation period

TimReeves

Regular Pleskian
Plesk 18.0.36 changed the rotation of Plesk PHP-FPM error logs to daily - I assume from weekly?

I want to go (back) to weekly: I have scripts run by cron which monitor the size of those files and the threshold for complaint is based on a weekly amount of errors. And it's not a high threshold - I'm very obsessive about any PHP warnings and errors - you wouldn't believe how many WordPress plugin authors have gotten support requests from me...

So my question is: Is there any setting in panel.ini or a Plesk CLI job where I can set that? The current Panel.ini Editor doesn't offer anything here. Nor do I see any relevant CLI command.

Thanks!
 
Thanks @hschramm you are right ofcourse. I'm well familiar with logrotate, don't know why I didn't think of it in this context. And yes, there are the 'daily' lines for each Plesk PHP installed.

But I don't like trying to simply edit those files, as they belong to their respective Plesk packages. What I would really need here would be a Plesk option, such that Plesk activates or generates a different logrotate file.

I can't see that happening very soon and am beginning to think that it may be easier to accept the daily, modify my monitoring threshhold, and put my expectation on the duplicated PHP messages in the webserver error logs.
 
Back
Top