mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-04 01:28:47 +00:00
add a note about rotating logfile created with to_logfile
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2659 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
07f506f0ac
commit
cb5f5c9432
@ -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(8)
|
||||
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
|
||||
@ -562,5 +587,6 @@ required.
|
||||
The corosync executive configuration file.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR corosync_overview (8)
|
||||
.BR corosync_overview (8),
|
||||
.BR logrotate (8)
|
||||
.PP
|
||||
|
Loading…
Reference in New Issue
Block a user