View Full Version : How reduce file size of logs?
esezako
1st December 2010, 10:27
Hi, many of my sites generates a web.log of 800Mb every month. How can i reduce this size? Is any bad function?
Thank's
falko
2nd December 2010, 15:25
If your sites have so many accesses, then you can't do anything about it. But you can delete old logs (from previous months) that you don't need anymore.
esezako
2nd December 2010, 16:52
Any script to automatic delete the logs X time old?
I think is a usefull feacture.
Thanks for your help :)
falko
3rd December 2010, 17:03
You can do this with the find command. There's an example script in this tutorial: http://www.howtoforge.com/back_up_mysql_dbs_without_interruptions
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.