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, but
37 minsize must be less than 100000000 (LOGMAXIMUM).
38
39 If you want to compress the rotated file, remove the # from the #com‐
40 press line
41
43 Rotate the call file monthly:
44 minsize 1
45 #minsize 110000
46
47 Do not rotate the call file until it is at least 110000 bytes
48 #minsize 1
49 minsize 110000
50
52 logrotate ‐ rotates, compresses and mails system logs
53
55 /var/log/cidcall.log
56
58 logrotate.8, ncidrotate.1, ncidrotate.conf.5
59
60
61
62 ROTATEBYSIZE.CONF(5)