> > > I use a wiki engine that produces an event log, which I want to
> > > rotate.
> > > 
> > > Because the event-log is used to display the "PageHits", I don't
> > > want to truncate the log every Monday. I wish the log could
> > > contain the last week, plus the current week, so the statistics
> > > are never empty.

Say the logs you want to stat are:

/var/log/event-logs/log.week0 
/var/log/event-logs/log.week1 

etc.

Doesn't something along the lines of:

$ logrotate

$ cat /var/log/event-logs/log.week[01] | pagehits-stats

address this?

Or am I misunderstanding your question?

CJ



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to