Репозитории ALT
S: | 3.20.1-alt2 |
5.1: | 3.7.9-alt0.M51.1 |
4.1: | 3.6.2-alt4 |
4.0: | 3.6.2-alt4 |
3.0: | 3.6.2-alt3 |
Группа :: Работа с файлами
Пакет: logrotate
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: logrotate-3.6.2-owl-alt-man.patch
Скачать
Скачать
--- logrotate-3.6.2~/logrotate.8 Tue Jan 29 22:20:03 2002
+++ logrotate-3.6.2/logrotate.8 Tue Mar 12 18:54:53 2002
@@ -1,4 +1,4 @@
-.TH LOGROTATE 8 "Wed Nov 28 2001" "Red Hat Linux" "System Administor's Manual"
+.TH LOGROTATE 8 "Wed Nov 28 2001" "Red Hat Linux" "System Administrator's Manual"
.UC 4
.SH NAME
logrotate \- rotates, compresses, and mails system logs
@@ -94,6 +94,7 @@
/var/log/news/* {
monthly
rotate 2
+ olddir /var/log/news/old
missingok
postrotate
kill -HUP `cat /var/run/inn.pid`
@@ -115,7 +115,7 @@
\fI/sbin/killall -HUP syslogd\fR will be executed.
The next section defines the parameters for both
-\fI/var/log/httpd/access.log\fRand \fI/var/log/httpd/error.log\fR.
+\fI/var/log/httpd/access.log\fR and \fI/var/log/httpd/error.log\fR.
They are rotated whenever is grows over 100k is size, and the old logs
files are mailed (uncompressed) to www@my.org after going through 5
rotations, rather then being removed. The \fBsharedscripts\fR means that
@@ -346,9 +347,9 @@
.TP
\fBstart \fIcount\fR
This is the number to use as the base for rotation. For example, if
-you specify 0 the logs will be created with a .0 extension as the are
-rotated from the original log file. If you specify 9, log files will
-start with end with .9, skipping 0-8. Files will still be rotated the
+you specify 0, the logs will be created with a .0 extension as they are
+rotated from the original log files. If you specify 9, log files will
+be created with a .9, skipping 0-8. Files will still be rotated the
number of times specified with the \fBcount\fR directive.
.TP