|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Removing old records from log filesby BazB (Priest) |
| on Jan 16, 2002 at 15:44 UTC ( [id://139239]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Not to put a stopper on some rather nice code, but if you're running a UNIX system (which I suspect you are), what about just using the logrotate command? Rotate files on a hourly basis and be done with it! You can delete the old records, or just store them on disk. If you're on Windows, Perl might be easier.
TMTOMTDI :-)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||