[an error occurred while processing this directive][an error occurred while processing this directive]

file

Syntax

file <filename> <files files> <match regular-expression> <size maximum-file-size> <world-readable | no-world-readable>;

Hierarchy Level

[edit services border-signaling-gateway gateway gateway-name traceoptions]

Release Information

Statement introduced in JUNOS Release 9.4.

Description

Configure the trace file for tracing BSG components.

Options

filename filename—Name of the file to which the tracing messages are written.

Default: bsg_trace

files number-of-files—Number of trace files. The tracing mechanism can rotate between any given number of files, allowing for trace message inspection without interfering with the normal work of the application.

Default: 3

match regular expression—Regular expression to match with incoming messages. Messages that do not match the regular expression are not written to the trace file.

size maximum-trace-file-size—Size parameter (in bytes) to trigger rotation of files. The trace mechanism rotates files based on the current file size. When the size is bigger than the maximum configured size, the files are rotated.

Default: 1048576

world-readable | no-world-readable—Allow all users to use the log file or disallow all users from using the log file.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.


Published: 2010-04-28

[an error occurred while processing this directive]