On Fri, Nov 10, 2006 at 09:53:54AM +0000, Gerrit Pape wrote:
> > It's not increasing but why doesn't svlogd delete extra log files? What 
> > is the design justification?
> 
> logs is crucial data.  I don't want svlogd to remove possibly tons of log
> messages in many log files due to some temporary misconfiguration.  If
> you descrease the number of log files in the config file, you can remove
> older log manually, and svlogd will adapt.  If you remove them manually,
> you really know what you're doing.

At least svlogd could write a warning to the log suggesting how to 
remove extra log files. E.g.,

n=10; echo 1,-${n}p | ed -s '!ls [EMAIL PROTECTED]' | xargs rm

(It took me about 20 minutes to re-invent that command and I had seen 
somebody else use it before.)

At least mention it on the man page.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to