Submitted by Hal9000 on Wed, 10/21/2009 - 06:22
Hello! On my system I disabled PHP error display, but log them in log/php_log file for all clients. Problem is, I am unable to add this file to logrotate. I am aware of the logrotate configuration in Virtualmin, but there I can only edit directives inside the block which defines access_log and error_log, so no way to add log rotation for another file to my knowledge. I discussed this on the forum, where I was told I better open a feature request. So there you go :) Cheers Sebastian
Status:
Closed (fixed)
Comments
Submitted by Hal9000 on Fri, 10/23/2009 - 01:27 Comment #1
Submitted by JamieCameron on Fri, 10/23/2009 - 11:12 Comment #2
Sure, you can add a new file to be rotated by logging in as root and going to Webmin -> System -> Log File Rotation, and clicking on the access_log entry for the domain, and adding that php_log file.
Or are you looking for a way to have this setup for all new domains by default?
Submitted by Hal9000 on Fri, 10/23/2009 - 11:15 Comment #3
yes, i would like to be able to set that for new domains, if possible :)
Submitted by JamieCameron on Fri, 10/23/2009 - 15:24 Comment #4
Ok .. I'll add a template-level option for this in the next Virtualmin release.
Submitted by Hal9000 on Fri, 10/23/2009 - 15:39 Comment #5
sweet, thanks! :)
Submitted by Issues on Sat, 11/07/2009 - 03:28 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.