wickedmind4
Mar 23 2004, 11:30 AM
How can i make the file size of the accesslog go down..
it's two GB big...
or better.. is that log neccesary and how can i turn it off?
tnx in advance
NETSource
Mar 23 2004, 12:10 PM
Yes, the log is important if you are a host - it keeps track of your hosted domain bandwidth usage, etc.
You need to set up log rotation - click on the domain you are having problems with, then click on Log Manager. Click the Log Rotations button and either set it to a lower frequency on rotation (if it's monthly, try weekly) or set a max size of about 1.5G.
But this won't groom the size of the existing log - you might have to remove a bit of the older entries on the logfile to get it under 2G so the stats proggies will read it.
binary
Mar 23 2004, 06:21 PM
Also, some log analysis programs can read a compressed file just as easily as an uncompressed one. A 2GB access_log could probably be smushed down to 200MB using bzip2.