summaryrefslogtreecommitdiff
path: root/package/logrotate/patches/patch-logrotate_8
blob: 0673a449cc27e2d4ba99ba454dab4ae7d2e3fc5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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