1 --- logrotate-3.7.8/logrotate.8.orig 2008-12-06 15:05:40.000000000 +0100
2 +++ logrotate-3.7.8/logrotate.8 2009-02-03 07:37:38.410450504 +0100
7 -\fB-s, -\-state <statefile>\fR
8 +\fB-s\fR,\fB -\-state <statefile>\fR
9 Tells \fBlogrotate\fR to use an alternate state file. This is useful
10 if logrotate is being run as a different user for various sets of
11 -log files. The default state file is \fI/var/lib/logrotate.status\fR.
12 +log files. The default state file is \fI/var/lib/misc/logrotate.status\fR.
17 \fI/var/log/messages\fR. The log will go through five weekly rotations before
18 being removed. After the log file has been rotated (but before the old
19 version of the log has been compressed), the command
20 -\fI/sbin/killall -HUP syslogd\fR will be executed.
21 +\fI/usr/bin/killall -HUP syslogd\fR will be executed.
23 The next section defines the parameters for both
24 \fI/var/log/httpd/access.log\fR and \fI/var/log/httpd/error.log\fR.
26 Log files are rotated when they grow bigger than \fIsize\fR bytes. If
27 \fIsize\fR is followed by \fIk\fR, the size is assumed to be in kilobytes.
28 If the \fIM\fR is used, the size is in megabytes, and if \fIG\fR is used, the
29 -size is in gigabytes. So \fBsize 100\fR, \fIsize 100k\fR, \fIsize 100M\fR and
30 -\fIsize 100G\f are all valid.
31 +size is in gigabytes. So \fBsize \fI100\fR, \fBsize \fI100k\fR, \fBsize \fI100M\fR and
32 +\fBsize \fI100G\f are all valid.
37 Log files are rotated if the current weekday is less than the weekday
38 of the last rotation or if more than a week has passed since the last
39 rotation. This is normally the same as rotating logs on the first day
40 -of the week, but it works better if \fIlogrotate\fR is not run every
41 +of the week, but it works better if \fBlogrotate\fR is not run every
49 -\fI/var/lib/logrotate.status\fR
50 +\fI/var/lib/misc/logrotate.status\fR
53 \fI/etc/logrotate.conf\fR