rotatebysize.conf man page
rotatebysize.conf — rotate configuration file
The rotatebysize.conf file has logrotate directives and is included in the ncid logrotate file. The rotatebyzise.conf, file is used to determine minimum size needed to rotate the cidcall.log file.
The rotatebyzise.conf file understands 3 types of lines:
- blank line
- comment line, beginning with '#'
There are two directives but you can add others.
If you want the call log to rotate each month, keep the defaults.
If you want the call log to grow large without rotation, add a # to the biginning of the minsize 1 line and remove the # from the #minsize 110000 line.
If you want the file to grow bigger than 110000, change the number.
If you want to compress the rotated file, remove the # from the #compress line
Rotate the call file monthly:
Do not rotate the call file until it is at least 110000 bytes
logrotate ‐ rotates, compresses and mails system logs
logrotate.8, ncidrotate.1, ncidrotate.conf.5