summaryrefslogtreecommitdiff
path: root/package/logrotate/patches/patch-logrotate_8
diff options
context:
space:
mode:
Diffstat (limited to 'package/logrotate/patches/patch-logrotate_8')
-rw-r--r--package/logrotate/patches/patch-logrotate_828
1 files changed, 28 insertions, 0 deletions
diff --git a/package/logrotate/patches/patch-logrotate_8 b/package/logrotate/patches/patch-logrotate_8
new file mode 100644
index 000000000..0673a449c
--- /dev/null
+++ b/package/logrotate/patches/patch-logrotate_8
@@ -0,0 +1,28 @@
+$Id$
+--- logrotate-3.7.1.orig/logrotate.8 Thu Aug 7 13:13:14 2003
++++ logrotate-3.7.1/logrotate.8 Sat Jan 20 18:54:35 2007
+@@ -200,6 +200,11 @@ file for the omitted attributes. This op
+ Log files are rotated every day.
+
+ .TP
++\fBdateext\fR
++Archive old versions of log files adding a daily extension like YYYYMMDD
++instead of simply adding a number.
++
++.TP
+ \fBdelaycompress\fR
+ Postpone compression of the previous log file to the next rotation cycle.
+ This has only effect when used in combination with \fBcompress\fR.
+@@ -244,6 +249,12 @@ instead of the about-to-expire file.
+ \fBmaillast\fR
+ When using the \fBmail\fR command, mail the about-to-expire file,
+ instead of the just-rotated file (this is the default).
++
++.TP
++\fBmaxage\fR \fIcount\fR
++Remove rotated logs older than <count> days. The age is only checked
++if the logfile is to be rotated. The files are mailed to the
++configured address if \fBmaillast\fR and \fBmail\fR are configured.
+
+ .TP
+ \fBmissingok\fR