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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.