From deca9b9d520f80401fc05261cb7097e2088a437f Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Tue, 17 Apr 2007 07:48:58 +0000 Subject: man/svlogd.8: add hint on how to manually remove log files ...after the number of log files svlogd should maintain has been reduced. --- man/svlogd.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/svlogd.8 b/man/svlogd.8 index a7a4ba9..de068c6 100644 --- a/man/svlogd.8 +++ b/man/svlogd.8 @@ -97,7 +97,9 @@ or more old log files in the log directory, it removes the oldest one. Note that this doesn't decrease the number of log files if there are already more than .I num -log files. +log files, this must be done manually, e.g. for keeping 10 log files: +.P + ls \-1 \\@* |sort |sed \-ne '10,$p' |xargs rm .SS PROCESSOR If .B svlogd -- cgit 1.4.1