Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ROTATEBYSIZE.CONF(5)	      File Formats Manual	  ROTATEBYSIZE.CONF(5)

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	deter-
       mine 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.

       If  you	want to	compress the rotated file, remove the #	from the #com-
       press  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 a rotates, compresses and mails system	logs

FILES
       /var/log/cidcall.log

SEE ALSO
       logrotate.8, ncidrotate.1, ncidrotate.conf.5

							  ROTATEBYSIZE.CONF(5)

NAME | DESCRIPTION | EXAMPLES | REQUIREMENTS | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=rotatebysize.conf&sektion=5&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help