Forum Moderators: DixonJones

Message Too Old, No Replies

log files in hosting space

to keep or to remove?

         

mms19

10:59 am on Mar 15, 2004 (gmt 0)

10+ Year Member



The log files of the current month seem to take more than half of my hosting space. I can remove those logs to save the disk space, but AWstats seems to need those log files to produce the traffic report.

Does AWstats really need the raw log files to create the report? If so, what is the better way to save the disk space?

Thank you.

elguiri

11:11 am on Mar 15, 2004 (gmt 0)

10+ Year Member Top Contributors Of The Month



AWStats uses the raw logs to create the reports.

The better way to store them is in compressed form, usually gzip. Your hosting company should take care of this. Perhaps the best way is to have the last 24 hours uncompressed, and everything else compressed in monthly files.

I don't know if AWStats does a decompression for you when you want to produce reports. (I know Analog, for example does). Nonetheless it's in your hosting company's interest as much as yours to reduce the space used. I'd ask them to sort it out.

rogerdp

11:54 am on Mar 15, 2004 (gmt 0)

10+ Year Member



You can download the log files and run an analysis program locally.

mms19

1:42 pm on Mar 15, 2004 (gmt 0)

10+ Year Member



The logs of current month have taken more than 200MB of disk space. If I zip any log of the current month, I am afraid AWstats may have some problem to create the monthly report.

I don't know if this would be a dilemma for most people to keep the log files for traffic report or to delete them for disk space? or just to buy more disk space?

flashfan

2:17 pm on Mar 15, 2004 (gmt 0)

10+ Year Member



awstats uses its own data to report. It's not necessary to keep the raw log file. You may rotate the logfile so that you won't have space issue.

-F.

cgrantski

3:44 pm on Mar 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried grepping out the image lines in the logs? For a lot of sites, that's 90% of the bulk.