summary refs log tree commit diff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2007-04-17 07:48:58 +0000
committerGerrit Pape <pape@innominate.com>2007-04-17 07:48:58 +0000
commitdeca9b9d520f80401fc05261cb7097e2088a437f (patch)
tree813b292c5255667d8db2d78a06e2c7072abf1a75
parent9e74b1c85c0299fe3372db78d30952a1bbeb76a2 (diff)
downloadrunit-deca9b9d520f80401fc05261cb7097e2088a437f.tar.gz
runit-deca9b9d520f80401fc05261cb7097e2088a437f.tar.xz
runit-deca9b9d520f80401fc05261cb7097e2088a437f.zip
man/svlogd.8: add hint on how to manually remove log files
...after the number of log files svlogd should maintain has been reduced.
-rw-r--r--man/svlogd.84
-rw-r--r--package/CHANGES3
2 files changed, 6 insertions, 1 deletions
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
diff --git a/package/CHANGES b/package/CHANGES
index 6218bfe..1d21ae4 100644
--- a/package/CHANGES
+++ b/package/CHANGES
@@ -1,3 +1,6 @@
+  * man/svlogd.8: add hint on how to manually remove log files after the
+    number of log files svlogd should maintain has been reduced.
+
 1.7.2
 Tue, 21 Nov 2006 15:13:47 +0000
   * doc/index.html: add list of distributions that are known to include