Re: Rotating logs (and keeping the log's tail)
> > > 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:
Doesn't something along the lines of:
$ cat /var/log/event-logs/log.week | pagehits-stats
Or am I misunderstanding your question?