Accepting request 53329 from home:lnussel:fscaps
OBS-URL: https://build.opensuse.org/request/show/53329 OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=10
This commit is contained in:
parent
4aeeca5915
commit
9ccc9ed3e5
@ -1,57 +1,44 @@
|
||||
Index: examples/logrotate-default
|
||||
===================================================================
|
||||
--- examples/logrotate-default.orig 2007-08-29 09:19:36.000000000 +0200
|
||||
+++ examples/logrotate-default 2009-03-06 14:11:05.000000000 +0100
|
||||
@@ -14,22 +14,30 @@
|
||||
--- examples/logrotate-default.orig
|
||||
+++ examples/logrotate-default
|
||||
@@ -14,22 +14,13 @@ dateext
|
||||
# uncomment this if you want your log files compressed
|
||||
#compress
|
||||
|
||||
+# comment these to switch compression to use gzip or another
|
||||
+# compression scheme
|
||||
+compresscmd /usr/bin/bzip2
|
||||
+uncompresscmd /usr/bin/bunzip2
|
||||
+
|
||||
+# former versions had to have the compressext set accordingly
|
||||
+#compressext .bz2
|
||||
+
|
||||
# RPM packages drop log rotation information into this directory
|
||||
include /etc/logrotate.d
|
||||
|
||||
# no packages own wtmp and btmp -- we'll rotate them here
|
||||
-# RPM packages drop log rotation information into this directory
|
||||
-include /etc/logrotate.d
|
||||
-
|
||||
-# no packages own wtmp and btmp -- we'll rotate them here
|
||||
-/var/log/wtmp {
|
||||
- monthly
|
||||
- create 0664 root utmp
|
||||
- minsize 1M
|
||||
- rotate 1
|
||||
-}
|
||||
-
|
||||
+# comment these to switch compression to use gzip or another
|
||||
+# compression scheme
|
||||
+compresscmd /usr/bin/bzip2
|
||||
+uncompresscmd /usr/bin/bunzip2
|
||||
|
||||
-/var/log/btmp {
|
||||
- missingok
|
||||
- monthly
|
||||
- create 0600 root utmp
|
||||
- rotate 1
|
||||
-}
|
||||
+#/var/log/wtmp {
|
||||
+# monthly
|
||||
+# create 0664 root utmp
|
||||
+# minsize 1M
|
||||
+# rotate 1
|
||||
+#}
|
||||
+#
|
||||
+# /var/log/btmp {
|
||||
+# missingok
|
||||
+# monthly
|
||||
+# create 0600 root utmp
|
||||
+# rotate 1
|
||||
+#}
|
||||
+# former versions had to have the compressext set accordingly
|
||||
+#compressext .bz2
|
||||
|
||||
# system-specific logs may be also be configured here.
|
||||
-# system-specific logs may be also be configured here.
|
||||
+# RPM packages drop log rotation information into this directory
|
||||
+include /etc/logrotate.d
|
||||
Index: examples/logrotate.wtmp
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ examples/logrotate.wtmp 2009-03-06 14:11:05.000000000 +0100
|
||||
--- /dev/null
|
||||
+++ examples/logrotate.wtmp
|
||||
@@ -0,0 +1,11 @@
|
||||
+/var/log/wtmp {
|
||||
+/var/log/wtmp /var/log/btmp {
|
||||
+ compress
|
||||
+ dateext
|
||||
+ maxage 365
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 18 12:44:55 UTC 2010 - lnussel@suse.de
|
||||
|
||||
- also rotate /var/log/btmp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 14 13:01:46 UTC 2010 - puzel@novell.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user