[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring the Number and Size of Event Script Log Files

By default, when the trace file reaches 128 KB in size, it is renamed filename.0, then filename.1, and so on, until there are 10 trace files. Then the oldest trace file (filename.9) is overwritten.

You can configure the limits on the number and size of event script trace files by including the following statements at the [edit event-options event-script traceoptions file] or [edit event-options event-script traceoptions file filename] hierarchy level:

[edit event-options event-script traceoptions file <filename>]
files number size size;

For example, set the maximum file size to 640 KB, and the maximum number of files to 20. When the file that receives the output of the tracing operation (filename) reaches 640 KB, filename is renamed filename.0, and a new file called filename is created. When the new filename reaches 640 KB, filename.0 is renamed filename.1 and filename is renamed filename.0. This process repeats until there are 20 trace files. Then the oldest file (filename.19) is overwritten by the newest file (filename.0).

The number of files can be from 2 through 1000 files. The file size of each file can be from 128 KB through 1 gigabyte (GB).


[Contents] [Prev] [Next] [Index] [Report an Error]