Jump to content


Photo

Limit log file size?


  • Please log in to reply
1 reply to this topic

#1 Prismatic

Prismatic
  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego

Posted 20 September 2006 - 07:36 AM

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

#2 R_P

R_P
  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 20 September 2006 - 04:17 PM

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
Pro in: Win2K3S | Apache2 | PHP5 | Perl5 | MySQL | MSSQL | Firefox | Photoshop
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users