Prismatic Posted September 20, 2006 Share Posted September 20, 2006 I just wiped my log access.log file as it was well over 100MB. Is there a way to limit the size of the log so it will never exceed xxx ammount of lines? Just refreshing my website added 7KB to the new empty file and it's already growing again. Any ideas? using apache 1.3 I believe Quote Link to comment https://forums.phpfreaks.com/topic/21372-limit-log-file-size/ Share on other sites More sharing options...
R_P Posted September 20, 2006 Share Posted September 20, 2006 Are you on Windows or Unix? There are plenty of good, easy apache log rotaters ou there for both systems. I'd suggest googling: rotate apache logs Quote Link to comment https://forums.phpfreaks.com/topic/21372-limit-log-file-size/#findComment-95482 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.