1ROTATEBYSIZE.CONF(5) File Formats Manual ROTATEBYSIZE.CONF(5)
2
3
4
6 rotatebysize.conf - rotate configuration file
7
9 The rotatebysize.conf file has logrotate directives and is included in
10 the ncid logrotate file. The rotatebyzise.conf, file is used to deter‐
11 mine minimum size needed to rotate the cidcall.log file.
12
13 The rotatebyzise.conf file understands 3 types of lines:
14
15 blank line
16 ignored
17
18 comment line, beginning with '#'
19 ignored
20
21 directive [argument]
22
23 There are two directives but you can add others.
24
25 Defaults:
26 minsize 1
27 #minsize 110000
28 #compress
29
30 If you want the call log to rotate each month, keep the defaults.
31
32 If you want the call log to grow large without rotation, add a # to the
33 biginning of the minsize 1 line and remove the # from the #minsize
34 110000 line.
35
36 If you want the file to grow bigger than 110000, change the number.
37
38 If you want to compress the rotated file, remove the # from the #com‐
39 press line
40
42 Rotate the call file monthly:
43 minsize 1
44 #minsize 110000
45
46 Do not rotate the call file until it is at least 110000 bytes
47 #minsize 1
48 minsize 110000
49
51 logrotate ‐ rotates, compresses and mails system logs
52
54 /var/log/cidcall.log
55
57 logrotate.8, ncidrotate.1, ncidrotate.conf.5
58
59
60
61 ROTATEBYSIZE.CONF(5)