Logrotate based on time AND size
Hi,
I am setting up logrotate config file to rotate daily for atmost two times. Is rotation based on time (used by daily/monthly) mutually exclusive with rotation based on filesize?
What would be the effect of this config file?:
{
rotate 2
daily
size=100k
}
What is the effect of this config?
The desired functionality is this: Rotate 2 times and each rotation is triggered either by time (end of day) OR by the size of the file.
The manpage is not clear on this functionality!
Thanks a bunch for any help.
Shishya
|