Next: , Previous: Mandatory RC Variables, Up: Top


1.3 Optional RC Variables

Following are optional variables:

       createdir
       default_storefile=<storefile>
       dir_grp=<group>
       dir_own=<owner>
       dir_perm=<permissions>
       follow_symlinks
       ifempty
       maxage=<days>
       missingok
       nocompress
       nocreate
       nomissingok
       notifempty
       remove_missing
       SunMon=<sun|mon>
       tabooext=<list>

Where:

createdir
Create directories specified in storedir if needed. It's useful to use with meta-vars. see Period related configuration options, for more informations.
default_storefile=<storefile>
Default filename to use with archived androtated logfiles. It's useful to use with meta-vars. see Period related configuration options, for more informations.

WARNING: Time-related meta-vars are NOT compatible with rotate parameter.

If default_storefile is defined using @WEEK, @DAY, @MONTH, or @YEAR meta-variables, each config file containing a logfile to be rotated will not be valid.

dir_grp=<group>
Default group of newly created directory. Must exist in /etc/group file. Use with createdir option. See see Period related configuration options, for more information.
dir_own=<owner>
Default owner of newly created directory. Must exist in /etc/passwd file. Used with createdir option. See see Period related configuration options, for more information.
dir_perm=<permissions>
Default permission of newly created directory. Only numeric notation is permitted. Used with createdir option. See see Period related configuration options, for more information.
follow_symlinks
Follow symlinks to logfiles. Default behaviour is to not follow symlinks.
ifempty
Rotate logfiles even if they are empty.
maxage
Remove archived logs older than <days> days. The age is only checked if the logfile is to be managed.
missingok
If a logfile is missing, go to the next one without issuing an error message. Last action, if defined, will be performed. Post rotate script, if defined, will not be performed. See see Period related configuration options, for more information.
nocompress
Don't compress logfiles to be archived and rotated.
nocreate
Don't create a new filename. Can't be used with logpart option. See see Period related configuration options, for more information.
nomissingok
rottlog will return an error message and stop execution if the a file is missing.
notifempty
Do not rotate a logfile if it is empty.
remove_missing
rottlog will stop execution if a delayed file no longer exists or is not readable.
SunMon=<sun|mon>
Use Sunday or Monday as first day of week. This option is useful only in conjunction with @WEEK meta-variable.
tabooext=<list>
The list of files expanded with * glob will not include files with extensions contained in <list>. If a + precedes this list of extensions, the current taboo extension list is augmented, otherwise it is replaced. At startup, the taboo extension list contains: .new .rpmorig, .rpmsave, ,v, .swp, .rpmnew, and ~.