Help - Search - Members - Calendar
Full Version: access log of 2 gb
The Planet Forums > Control Panels > Plesk
wickedmind4
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
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
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.