Perl Monk, Perl Meditation | |
PerlMonks |
Re: How do I jump to the point I last checked a file at?by nate (Monk) |
on Feb 03, 2000 at 03:41 UTC ( [id://2766]=note: print w/replies, xml ) | Need Help?? |
the problem with apache logs is that they aren't a fixed length record within the file. This makes going to a specific record much more difficult.
One thing you could do is use a daemon, rather than a cron job to read from the file as apache writes to it (ala 'tail -f'). That way, you could change your statistics periodically, rather than having to mow through the file every n minutes. Or use analog...
In Section
Seekers of Perl Wisdom
|
|