Php_log logrotate configuration

OS type and version Ubuntu 22.04
Virtualmin version 7.10.0

Can someone give the default logrotate configuration for the PHP error log at “/home/domain/logs/php_log”, please?

For some reason, no log rotation has been set up for that file. I would like to try getting the Virtualmin’s prepared logrotate configuration, if there is one, before starting to create one from scratch at Webmin → System → Log File Rotation → Add a new log file to rotate

I found this similar year-old thread Bug: php_log log rotation is broken in latests versions but for me, the php_log file is there all right, it just doesn’t get rotated.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.