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

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.

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

Default: 1048576

Required Privilege Level

interface—To view this statement in the configuration.

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

Related Topics

JUNOS Multiplay Solutions Guide


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