help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: truncating log files (fifo)


From: Kai Großjohann
Subject: Re: truncating log files (fifo)
Date: Thu, 12 Sep 2002 12:39:14 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

"Joe Casadonte" <jcasadonte@northbound-train.com> writes:

> 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!

nnmail-cache-insert comes to mind, but it's specific to that file
format.

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]