1 |
jpp |
1.1 |
diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm e-smith-cvm-unix-local-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm |
2 |
|
|
--- e-smith-cvm-unix-local-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm 1969-12-31 19:00:00.000000000 -0500 |
3 |
|
|
+++ e-smith-cvm-unix-local-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm 2022-02-17 22:55:36.346000000 -0500 |
4 |
|
|
@@ -0,0 +1,4 @@ |
5 |
|
|
+#cvm |
6 |
|
|
+:programname, startswith, "cvm" /var/log/cvm/cvm.log |
7 |
|
|
+& stop |
8 |
|
|
+ |
9 |
|
|
diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm |
10 |
|
|
--- e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm 1969-12-31 19:00:00.000000000 -0500 |
11 |
|
|
+++ e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm 2022-02-17 23:03:28.150000000 -0500 |
12 |
|
|
@@ -0,0 +1,12 @@ |
13 |
|
|
+/var/log/cvm/*.log { |
14 |
|
|
+ create 640 root root |
15 |
|
|
+ notifempty |
16 |
|
|
+ daily |
17 |
|
|
+ rotate 28 |
18 |
|
|
+ missingok |
19 |
|
|
+ compress |
20 |
|
|
+ postrotate |
21 |
|
|
+ /usr/bin/systemctl restart cvm-unix |
22 |
|
|
+ endscript |
23 |
|
|
+} |
24 |
|
|
+ |