Content-type: text/html
Manpage of ROTATEBYSIZE.CONF
ROTATEBYSIZE.CONF
Section: File Formats (5)
Index
Return to Main Contents
NAME
rotatebysize.conf
- rotate configuration file
DESCRIPTION
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
-
ignored
- comment line, beginning with '#'
-
ignored
- directive [argument]
-
There are two directives but you can add others.
- Defaults:
-
minsize 1
#minsize 110000
#compress
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, but
minsize
must be less than 100000000 (LOGMAXIMUM).
If you want to compress the rotated file, remove the #
from the #compress line
EXAMPLES
Rotate the call file monthly:
-
minsize 1
#minsize 110000
Do not rotate the call file until it is at least 110000 bytes
-
#minsize 1
minsize 110000
REQUIREMENTS
logrotate ‐ rotates, compresses and mails system logs
FILES
/var/log/cidcall.log
SEE ALSO
logrotate.8,
ncidrotate.1,
ncidrotate.conf.5
Index
- NAME
-
- DESCRIPTION
-
- EXAMPLES
-
- REQUIREMENTS
-
- FILES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 22:59:00 GMT, March 16, 2023