Re: Keep track of page-access [message #172896 is a reply to message #172889] |
Fri, 11 March 2011 09:43 |
Jo Schulze
Messages: 15 Registered: January 2011
Karma:
|
Junior Member |
|
|
sl@exabyte wrote:
> For server logs alone, would it a problem if I need to keep the
> counter over, say, a few years. I hope not to clear the log every
> month.
Usually, access logs are written by the webserver in a continious way
and are rotated (a new log started, the last one renamed and
compressed).
The idea is to regulary process the rotated logs to get the information
you want. Processing is a read only job, there is no "clear" in whatever
time interval. Yes, this can be done over years.
But it does not sound like you know much about the topic. I suggest you
collect some data:
1) Which webserver software is used on the machine (most likely Apache)
2) Where are the access logs?
3) How long is the rotation time interval?
|
|
|