| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,20 @@ |
| 1 |
+# see "man logrotate" for details |
|
| 2 |
+# rotate log files weekly |
|
| 3 |
+weekly |
|
| 4 |
+ |
|
| 5 |
+# keep 4 weeks worth of backlogs |
|
| 6 |
+rotate 4 |
|
| 7 |
+ |
|
| 8 |
+# create new (empty) log files after rotating old ones |
|
| 9 |
+create |
|
| 10 |
+ |
|
| 11 |
+# use date as a suffix of the rotated file |
|
| 12 |
+dateext |
|
| 13 |
+ |
|
| 14 |
+# uncomment this if you want your log files compressed |
|
| 15 |
+compress |
|
| 16 |
+ |
|
| 17 |
+# RPM packages drop log rotation information into this directory |
|
| 18 |
+include /etc/logrotate.d |
|
| 19 |
+ |
|
| 20 |
+# system-specific logs may be also be configured here. |