# # /etc/rotatelogstab # # Used by rotatelogs perl script by Kevin Inscoe (kevin@inscoe.org) # # Notes: # # "path" is the fully qualified path name of the logfile # "size" is the size in either kbytes # to rotate log (when it reaches this size or greater). # Add a "k" for kb or "m" for mb at the end of the number. # # "ret" is the number of rotated logs including the # current logfile to be allowed to remain in the logfile # directory before either archiving or deletion. # "Hup?" - Use (kill -) HUP signal to restart process? A blank # non-value is considered to be a no. Case insensitive. # "archive" is a full pathname to where the files beyond # "retention number" are placed. If this value is blank # then these files are deleted. If any error occurs moving # the files over to the archive location and the rotation # does not occur and an error is signaled. Logfiles moved # to this location are compressed by using either gzip or # unix compress which ever is found first. # # IMPORTANT NOTE: If any of the following options are set a new # empty logfile will be created. If *all* of the # following options are left blank then _NO_ new # log file will be created and it will be up to the # logging program/script to recreate the logfile # itself. # # "perm" (optional) is the numeric permissions to set the new empty # log file to. # "owner" (optional) is the alpha owner of the newly created file # as used by the chown command. # "group" (optional) is the alpha group of the newly created file # as used by the chgrp command. # # path:size:ret:Hup?(y/n):archive:perm:owner:group # #/var/log/syslog:2000:4 #/var/log/backup.log:2000:2 /var/log/bvswz1.log:60:2:n::775:root:staff /var/log/bvswz1_pageout.log:5:2:n::775:root:staff /var/log/cbis02.log:60:2:n::775:root:staff /var/log/cbis02_pageout.log:5:2:n::775:root:staff /var/log/cbis03.log:60:2:n::775:root:staff /var/log/cbis03_pageout.log:5:2:n::775:root:staff /var/log/eabwz1.log:60:2:n::775:root:staff /var/log/eabwz1_pageout.log:5:2:n::775:root:staff /var/log/wiztb1.log:60:2:n::775:root:staff /var/log/wiztb1_pageout.log:5:2:n::775:root:staff /var/log/itomsg.log:60:2:n::775:root:staff /var/log/msg.log:200:4:60:2:n::775:root:staff