[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
truncating log files (fifo)
From: |
Joe Casadonte |
Subject: |
truncating log files (fifo) |
Date: |
11 Sep 2002 14:14:57 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
I want to write to a log file, and have a maximum number of lines,
such that when the max is exceeded, the oldest lines (the ones at the
beginning of the file) are lopped off. Not terribly difficult to do,
but if there's a package that does something like this already, I'd
rather not re-invent the wheel. Does anyone know of anything? Thanks!
--
Regards,
joe
Joe Casadonte
jcasadonte@northbound-train.com
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
Perl for Win32 => http://www.northbound-train.com/perlwin32.html
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------
- truncating log files (fifo),
Joe Casadonte <=