diff -ur logrotate-3.6.2~/config.h logrotate-3.6.2/config.h --- logrotate-3.6.2~/config.h Thu Nov 29 00:37:42 2001 +++ logrotate-3.6.2/config.h Sat Mar 23 15:02:21 2002 @@ -15,7 +15,7 @@ #endif #ifndef COMPRESS_COMMAND - #define COMPRESS_COMMAND "/bin/gzip" + #define COMPRESS_COMMAND "/bin/bzip2" #endif #ifndef COMPRESS_OPTIONS @@ -23,14 +23,14 @@ #endif #ifndef COMPRESS_EXT - #define COMPRESS_EXT ".gz" + #define COMPRESS_EXT ".bz2" #endif #ifndef UNCOMPRESS_COMMAND - #define UNCOMPRESS_COMMAND "/bin/gunzip" + #define UNCOMPRESS_COMMAND "/bin/bunzip2" #endif #ifndef STATEFILE - #define STATEFILE "/var/lib/logrotate.status" + #define STATEFILE "/var/lib/logrotate/status" #endif diff -ur logrotate-3.6.2~/examples/logrotate-default logrotate-3.6.2/examples/logrotate-default --- logrotate-3.6.2~/examples/logrotate-default Thu Nov 29 00:13:07 2001 +++ logrotate-3.6.2/examples/logrotate-default Sat Mar 23 15:02:21 2002 @@ -8,8 +8,14 @@ # create new (empty) log files after rotating old ones create -# uncomment this if you want your log files compressed -#compress +# comment this out if you won't your log files compressed +compress + +# logs are moved into this directory for rotation +#olddir old + +# do not rotate the log if it is empty +notifempty # RPM packages drop log rotation information into this directory include /etc/logrotate.d @@ -18,7 +24,7 @@ /var/log/wtmp { monthly create 0664 root utmp - rotate 1 + rotate 4 } # system-specific logs may be also be configured here. diff -ur logrotate-3.6.2~/logrotate.8 logrotate-3.6.2/logrotate.8 --- logrotate-3.6.2~/logrotate.8 Tue Jan 29 23:20:03 2002 +++ logrotate-3.6.2/logrotate.8 Sat Mar 23 15:02:21 2002 @@ -54,7 +54,7 @@ \fB-s, -\-state \fR Tells \fBlogrotate\fR to use an alternate state file. This is useful if logrotate is being run as a different user for various sets of -log files. The default state file is \fB/var/lib/logrotate.status\fR. +log files. The default state file is \fB/var/lib/logrotate/status\fR. .TP \fB-\-usage\fR @@ -370,7 +370,7 @@ .SH FILES .PD 0 .TP 27 -\fI/var/lib/logrotate.status\fR +\fI/var/lib/logrotate/status\fR Default state file. .TP 27 \fI/etc/logrotate.conf\fR