On Wed, 2010-02-17 at 07:43 +0100, Fabio M. Di Nitto wrote:
> ACK.. good to go
>
After chatting to Fabione, I have added a logrotate config snippet.
See below.
-Angus
man/corosync.conf.5 | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/man/corosync.conf.5 b/man/corosync.conf.5
index de6682f..0e89333 100644
--- a/man/corosync.conf.5
+++ b/man/corosync.conf.5
@@ -488,6 +488,31 @@ and
The default is syslog and stderr.
+Please note, if you are using to_logfile and want to rotate the file,
use logrotate
+with the option
+.B
+copytruncate.
+eg.
+.IP
+.RS
+.ne 18
+.nf
+.ta 4n 30n 33n
+/var/log/corosync.log {
+ missingok
+ compress
+ notifempty
+ daily
+ rotate 7
+ copytruncate
+}
+.ta
+.fi
+.RE
+.IP
+.PP
+
+
.TP
logfile
If the
--
1.6.6
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais