random1 Posted February 6, 2009 Share Posted February 6, 2009 How can you rotate log files? My log files on my development machine are getting very large. I'd like to set it up so that there is a limit on filesize (e.g. 100MB) and that the log is rotated and dated using UTC datetime. Is there a standard way of doing this? Link to comment https://forums.phpfreaks.com/topic/144149-rotating-php-logs/ Share on other sites More sharing options...
printf Posted February 7, 2009 Share Posted February 7, 2009 Apache has a piped logfile option / feature that can do this for you.. Link to comment https://forums.phpfreaks.com/topic/144149-rotating-php-logs/#findComment-756437 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.