Skip to main content
Skip table of contents

Common Configuration Options

Several common file management configuration options may be used when configuring log, statistics, and message dump options.

Configuration Reference

 

extThe primary and secondary extent size for the file in the form: < pri-extent-size>,  [ <sec-extent-size> ]. The default value is 50,50.
maxextentsThe maximum extents for the file. The default value is 100.
on-file-full

The action to take when the output file is full. The available options are:

rolloverThe current file is renamed according to the 'rollover-file' specification and a new file is opened. This is the default action
purgedataThe current file data is purged with a call to CONTROL 20 and the current file remains open.
rollover-fileThe file name prefix for rollover files, which may be partially or fully qualified. The file name portion of the specified file will be truncated to a maximum of 5 characters and a 3 digit sequence number will be appended. The default rollover-file name is the current output file name. Specifying a remote system file for the rollover file name is not supported.
rollover-countThe maximum number of rollover files to retain. Note that when a rollover occurs, the oldest rollover files are deleted until <rollover-count> files remain. The rollover files are then renamed such that that the rollover file sequence numbers are sequential starting from 000. The default value is 20.

 

Examples

CODE
; Log to a file, specifying the extents. Note that if rollover occurs on the file, the 
; rollover file names will be zzlog000, zzlog001, etc.
[log]
file=$data1.logs.zzlog
format=text
level=info
time=lct
ext=16,32
maxextents=512
CODE
; Log to a file, specifying an alterate subvol for the "rolled over" files and limiting
; to a maximum of 10 rollover files.
[log]
file=$data1.logs.zzlog
format=text
level=info
time=lct
rollover-file=$data1.archive.log
rollover-count=10
 
; Log statistics to a file that is read by Prognosis, purging the statistics data when the file is full.
[stats]
file=$data1.stats.zzstats
enabled=1
on-file-full=purgedata
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.