Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

myaccess.log getting too big
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad Support
View previous topic :: View next topic  
Author Message
stougas



Joined: 13 Nov 2008
Posts: 2

Posted: Thu Feb 12, 2009 10:21 pm    Post subject: myaccess.log getting too big  

Hi everyone,

Is there a reason why the myaccess.log file is getting so big -- 300MB in three months?

How can I manage that? Is there a way to erase, rotate, delete, etc. ?

Thanks
______

All right, after a bit of reading, turns out myaccess.log file is the query log file and it's growing by the minute, so I simply stopped the server, commented out the line beginning with log = .... in the my.ini file, restarted the server and deleted the humongous query file (myaccess.log). I know a lot of people think it's a good debugging tool but I can do without the query log.

I know the FAQ section answers a lot of stupid questions like mine, but for god's sake a bit of interaction wouldn't hurt either.

Thanks
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Mon Mar 23, 2009 11:09 pm    Post subject:  

linux/osx have log rotate features , windows had none in the last version i used (windows 2000)

apache comes with a tool for this rotatelogs.exe but its supposed to be a bit buggy http://httpd.apache.org/docs/2.0/programs/rotatelogs.html

other than that i personally only log mysql database queries temporary for debugging
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad Support
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group