[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Apache Log File Deletion



Hi,
As I understand your problem, your apache log is enormous, not your AWstats
file.
We have used AWstats, and find that it works incrementally (if you use
the -update option). We make it update regularly with an
awstats.pl..... -update in a cron job. You can point it at a new file
containing new entries and it won't delete the old data because that is
stored in the AWstats log.
I suggest switching your log file to a new one (maybe restart apache so it
logs to the new place), then do one last update on old log file, then change
the AWstats config file to point at the new log, and next time you -update
it should add the entries to your AWstats pages.
Be careful, this is assuming you are -updating, and might not work under
another mode. Another thing worth bearing in mind is that AWstats will only
add new entries to its DB if the are dated AFTER all the entries it already
knows about.
Mark.


-----Original Message-----
From: Santiago Montalvan [mailto:smontalvan@xxxxxxxxxxxxxxxxx]
Sent: Saturday, March 22, 2003 12:59 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Apache Log File Deletion


We have a Qube3 at work that hosts our website and our e-mail.  We run
AWStats 5.2 to keep track of the visits to our website.  The log file for
our website is getting very very large (right now 85MB or something) but I
don't want to delete it because I don't want AWStats to not be able to
record some data.  Any ideas on how to do this so that I don't lose any data
for AWStats.  I know that the way to do it is to delete the file and then
stop and restart Apache and the new file will be used but I don't want to
lose information that AWStats needs.

Suggestions welcome...

Santiago.

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users