random1 Posted October 24, 2008 Share Posted October 24, 2008 How can you control the size of the Apache logs? By this I mean the 'error.log', 'access.log' and 'ssl_request.log' files. I want to set it up so that the files cannot become bigger than 4MB and then each file's data is archived to another file with the date and time. Is there a better approach to take? Link to comment https://forums.phpfreaks.com/topic/129881-solved-control-the-size-of-apache-logs/ Share on other sites More sharing options...
trq Posted October 24, 2008 Share Posted October 24, 2008 Is there a better approach to take? Install logrotate. Link to comment https://forums.phpfreaks.com/topic/129881-solved-control-the-size-of-apache-logs/#findComment-673331 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.